Moderator
M
Moderator
12th Dec 2015
IcemanBo: For long time as NeedsFix. Rejected.
Bribe:
Plenty of leaks for everyone. This is a goldmine of leaks:
Same with A_Index[2] in the next trigger.
Another treasure trove of location leaks here:
IcemanBo: For long time as NeedsFix. Rejected.
Bribe:
Plenty of leaks for everyone. This is a goldmine of leaks:
-
For each (Integer A_IndexDummy1[1]) from 1 to 12 do (Actions)
-
Loop - Actions
- Set A_Angle[A_IndexDummy1[1]] = (30.00 x (Real(A_IndexDummy1[1])))
- Unit - Create 1 DummyVortex for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by A_Distance1[A_Index[1]] towards A_Angle[A_IndexDummy1[1]] degrees) facing Default building facing degrees
- Set A_Dummy1[((A_IndexDummy1[1] x 12) - A_Index[1])] = (Last created unit)
-
Loop - Actions
-
For each (Integer A_IndexDummy2[1]) from 1 to 12 do (Actions)
-
Loop - Actions
- Unit - Create 1 DummyVortex for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by A_Distance2[A_Index[1]] towards A_Angle[A_IndexDummy2[1]] degrees) facing Default building facing degrees
- Set A_Dummy2[((A_IndexDummy2[1] x 12) - A_Index[1])] = (Last created unit)
-
Loop - Actions
-
For each (Integer A_IndexCircle[1]) from 1 to 12 do (Actions)
-
Loop - Actions
- Unit - Create 1 DummyCircle for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by A_DistanceCircle[A_Index[1]] towards A_Angle[A_IndexCircle[1]] degrees) facing Default building facing degrees
- Set A_DummyCircle[((A_IndexCircle[1] x 12) - A_Index[1])] = (Last created unit)
-
Loop - Actions
Same with A_Index[2] in the next trigger.
Another treasure trove of location leaks here:
-
For each (Integer A_IndexDummy1[2]) from 1 to 12 do (Actions)
-
Loop - Actions
- Set A_Angle[A_IndexDummy1[2]] = (A_Angle[A_IndexDummy1[2]] + A_AngularVelocity[A_Index[2]])
- Unit - Move A_Dummy1[((A_IndexDummy1[2] x 12) - A_Index[2])] instantly to ((Position of A_Caster[A_Index[2]]) offset by A_Distance1[A_Index[2]] towards A_Angle[A_IndexDummy1[2]] degrees)
-
Loop - Actions
-
For each (Integer A_IndexDummy2[2]) from 1 to 12 do (Actions)
-
Loop - Actions
- Unit - Move A_Dummy2[((A_IndexDummy2[2] x 12) - A_Index[2])] instantly to ((Position of A_Caster[A_Index[2]]) offset by A_Distance2[A_Index[2]] towards A_Angle[A_IndexDummy2[2]] degrees)
-
Loop - Actions
-
For each (Integer A_IndexCircle[2]) from 1 to 12 do (Actions)
-
Loop - Actions
- Unit - Move A_DummyCircle[((A_IndexCircle[2] x 12) - A_Index[2])] instantly to ((Position of A_Caster[A_Index[2]]) offset by A_DistanceCircle[A_Index[2]] towards A_Angle[A_IndexCircle[2]] degrees)
-
Destructable - Pick every destructible within A_DistanceCircle[A_Index[2]] of (Position of A_Caster[A_Index[2]]) and do (Actions)
-
Loop - Actions
- Destructable - Kill (Picked destructible)
-
Loop - Actions
-
Loop - Actions