- Joined
- May 16, 2007
- Messages
- 7,285
-
Ground Quake
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Ground Quake
-
Actions
- Set LVL = (Level of (Ability being cast) for (Triggering unit))
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
- Set Temppoint = (Position of (Triggering unit))
- Unit - Create 1 Dummy (fissures) for (Owner of (Triggering unit)) at Temppoint facing ((Facing of (Triggering unit)) + 0.00) degrees
- Unit - Set level of Fissures for (Last created unit) to LVL
- Set Temppoint2 = (Temppoint offset by ((Real((Integer A))) x 75.00) towards ((Facing of (Last created unit)) + ((Random real number between 0.00 and 30.00) - (Random real number between 0.00 and 30.00))) degrees)
- Unit - Order (Last created unit) to Neutral Tinker - Pocket Factory Temppoint2
- Custom script: call RemoveLocation(udg_Temppoint)
- Custom script: call RemoveLocation(udg_Temppoint2)
- Set Temppoint = (Position of (Triggering unit))
- Unit - Create 1 Dummy (fissures) for (Owner of (Triggering unit)) at Temppoint facing ((Facing of (Triggering unit)) + 90.00) degrees
- Unit - Set level of Fissures for (Last created unit) to LVL
- Set Temppoint2 = (Temppoint offset by ((Real((Integer A))) x 75.00) towards ((Facing of (Last created unit)) + ((Random real number between 0.00 and 30.00) - (Random real number between 0.00 and 30.00))) degrees)
- Unit - Order (Last created unit) to Neutral Tinker - Pocket Factory Temppoint2
- Custom script: call RemoveLocation(udg_Temppoint)
- Custom script: call RemoveLocation(udg_Temppoint2)
- Set Temppoint = (Position of (Triggering unit))
- Unit - Create 1 Dummy (fissures) for (Owner of (Triggering unit)) at Temppoint facing ((Facing of (Triggering unit)) + 180.00) degrees
- Unit - Set level of Fissures for (Last created unit) to LVL
- Set Temppoint2 = (Temppoint offset by ((Real((Integer A))) x 75.00) towards ((Facing of (Last created unit)) + ((Random real number between 0.00 and 30.00) - (Random real number between 0.00 and 30.00))) degrees)
- Unit - Order (Last created unit) to Neutral Tinker - Pocket Factory Temppoint2
- Custom script: call RemoveLocation(udg_Temppoint)
- Custom script: call RemoveLocation(udg_Temppoint2)
- Set Temppoint = (Position of (Triggering unit))
- Unit - Create 1 Dummy (fissures) for (Owner of (Triggering unit)) at Temppoint facing ((Facing of (Triggering unit)) + 270.00) degrees
- Unit - Set level of Fissures for (Last created unit) to LVL
- Set Temppoint2 = (Temppoint offset by ((Real((Integer A))) x 75.00) towards ((Facing of (Last created unit)) + ((Random real number between 0.00 and 30.00) - (Random real number between 0.00 and 30.00))) degrees)
- Unit - Order (Last created unit) to Neutral Tinker - Pocket Factory Temppoint2
- Custom script: call RemoveLocation(udg_Temppoint)
- Custom script: call RemoveLocation(udg_Temppoint2)
-
Loop - Actions
-
Events