- Joined
- Jun 27, 2011
- Messages
- 1,866
It works fine but becomes laggy with excessive use.
I use Bribe's Damage Engine. RocketBarrage_AreaHeight and Width is both set to 200.00.
-
Rocket Barrage
-

Events
-


Game - DamageEvent becomes Equal to 2.00
-
-

Conditions
-


(Unit-type of DamageEventSource) Equal to |cff778899War Machine|r (Rocket Barrage)
-
-

Actions
-


Set Temp_Point = (Position of DamageEventSource)
-


Set Temp_Point2 = (Position of DamageEventTarget)
-


For each (Integer A) from 1 to 3, do (Actions)
-



Loop - Actions
-




Unit - Create 1 Dummy Unit (RB) for (Owner of DamageEventSource) at Temp_Point facing (Facing of DamageEventSource) degrees
-




Unit - Add a 0.15 second Generic expiration timer to (Last created unit)
-




Set Temp_Point3[(Integer A)] = (Random point in (Region centered at Temp_Point2 with size ((Random real number between RocketBarrage_AreaWidth and RocketBarrage_AreaHeight), (Random real number between RocketBarrage_AreaWidth and RocketBarrage_AreaHeight))))
-




Unit - Order (Last created unit) to Attack Ground Temp_Point3[(Integer A)]
-
-
-


Custom script: call RemoveLocation( udg_Temp_Point3[1] )
-


Custom script: call RemoveLocation( udg_Temp_Point3[2] )
-


Custom script: call RemoveLocation( udg_Temp_Point3[3] )
-


Custom script: call RemoveLocation( udg_Temp_Point )
-


Custom script: call RemoveLocation( udg_Temp_Point2 )
-
-








