- Joined
- May 11, 2012
- Messages
- 2,103
Why this trigger Creates enemy units, but doesn't creates Stunner units?
it's not finished and i know it leaks... just answer
it's not finished and i know it leaks... just answer
-
Storm Hammer Loop 2
-
Events
- Time - StormHammer_Timer expires
- Conditions
-
Actions
- Set StormBolt_EnemyUnitsPoints[1] = ((Position of StormBolt_TargetUnit) offset by 450.00 towards 90.00 degrees)
- Set StormBolt_EnemyUnitsPoints[2] = ((Position of StormBolt_TargetUnit) offset by 450.00 towards 180.00 degrees)
- Set StormBolt_EnemyUnitsPoints[3] = ((Position of StormBolt_TargetUnit) offset by 450.00 towards 270.00 degrees)
- Set StormBolt_EnemyUnitsPoints[4] = ((Position of StormBolt_TargetUnit) offset by 450.00 towards 360.00 degrees)
- Set StormBolt_UnitsPoints[1] = ((Position of StormBolt_TargetUnit) offset by 125.00 towards 90.00 degrees)
- Set StormBolt_UnitsPoints[2] = ((Position of StormBolt_TargetUnit) offset by 125.00 towards 180.00 degrees)
- Set StormBolt_UnitsPoints[3] = ((Position of StormBolt_TargetUnit) offset by 125.00 towards 270.00 degrees)
- Set StormBolt_UnitsPoints[4] = ((Position of StormBolt_TargetUnit) offset by 125.00 towards 360.00 degrees)
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy Storm Bolt Enemy for Player 12 (Brown) at StormBolt_EnemyUnitsPoints[(Integer A)] facing Default building facing degrees
- Set StormBolt_EnemyUnits[(Integer A)] = (Last created unit)
- Unit - Create 1 Dummy Storm Bolt Stunner for (Owner of StormBolt_TrigUnit) at StormBolt_UnitsPoints[(Integer A)] facing Default building facing degrees
- Set StormBolt_Units[(Integer A)] = (Last created unit)
- Unit - Add Dummy Storm Bolt to StormBolt_Units[(Integer A)]
- Unit - Set level of Dummy Storm Bolt for StormBolt_Units[(Integer A)] to (Level of Storm Bolt for StormBolt_TrigUnit)
- Unit - Order StormBolt_Units[(Integer A)] to Human Mountain King - Storm Bolt StormBolt_EnemyUnits[(Integer A)]
-
Loop - Actions
-
Events