- Joined
- Apr 6, 2008
- Messages
- 760
Anyone know a fix for this? Count cant be used to define the array size and if i wrap it in
EDIT:
Solved it
R2I()
it will become an integer but wont be able to use it 'Wrong [Size] definition'
JASS:
globals
private constant real Ang = (bj_PI*2/360)*Angle
private constant integer Count = 360/(Ang*57.29577951308232)
endglobals
struct
unit array units[Count]
endstruct
EDIT:
Solved it
JASS:
360/R2I((Ang*57.29577951308232))