- Joined
- May 1, 2008
- Messages
- 1,605
Seas =)
So I want to create units with the A Loop functions.
In GUI it would look like:
Now in Jass I used this:
1) I use this bj_forLoopIndexA because JNGP don't mark it with red so I think its ok. Now I want change "PolarProjectionBJ". I asked the function list and WTF! is this:
Sorce? dist + Cos and Sin and angel + bj_what?
And please - you know that my english isn't that good so try to explain it that a stupid-stupide one can understand it =P
So I want to create units with the A Loop functions.
In GUI it would look like:
-
For each (Integer A) from 1 to 36, do (Actions)
-
Loop - Actions
-
Set TempArray[(Integer A)] = (TempPoint1 offset by 450.00 towards (10.00 x (Real((Integer A)))) degrees)
-
-
JASS:
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 36
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
set udg_TempArray[bj_forLoopIndexA()] = PolarProjectionBJ(udg_TempPoint1, 450.00, ( 45.00 * I2R(GetForLoopIndexA()) ))
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
1) I use this bj_forLoopIndexA because JNGP don't mark it with red so I think its ok. Now I want change "PolarProjectionBJ". I asked the function list and WTF! is this:

Sorce? dist + Cos and Sin and angel + bj_what?
And please - you know that my english isn't that good so try to explain it that a stupid-stupide one can understand it =P