HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Circle Of Units

06-19-2004, 08:54 PM#1
GosuSheep
How can i make a circle of units. I guess there was some dumb decision that makes it so you cant use REALS as For/Loop intergers..

the equation is something like
radius=72
For I = 1 to 360
Create Unit at center of Region with Offset (Cosine(I)*radius),(Sine(I)*Radius)
06-19-2004, 09:45 PM#2
Vexorian
You can always convert the integer A to real

Conversion - Convert Integer to Real (Integer A)
06-19-2004, 10:09 PM#3
GosuSheep
where is this Conversion Action? i cannot find it
06-19-2004, 10:28 PM#4
Vexorian
IT is not an action, it is a real function call
06-19-2004, 10:35 PM#5
GosuSheep
k, i found it

i just did
Set variable CIRCI = real(i)

thx for the help