HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Picking a variable 1 through 4?

05-28-2005, 02:46 PM#1
Eclipse
I'm trying to do a pick every unit in (variable, 1 through 4) but the only thing i can do is random integer between 1 and 4.
05-28-2005, 02:51 PM#2
Taur
use loop actions

for each interger A from 1 to 4 do actions

and then refer to each unit as variable (IntergerA)
05-29-2005, 08:11 AM#3
Raptor--
or a better explanation, make the variable an array

an array is a series of variables of the same type with the same name, refered to by var[1], var[2], var[3], var[4], etc...

so you can simply do as previously stated,
for loop integer A from 1 to 4 do
+ + pick every unit in var[Integer A]