- Joined
- Jun 2, 2009
- Messages
- 1,233
-
CrushRun
-
Events
-
Time - Every 0.03 seconds of game time
-
-
Conditions
-
Actions
-
Set TempPointCrush = (Position of crush_caster)
-
Set TempPointCrush2 = (TempPointCrush offset by 30.00 towards (Angle from TempPointCrush to CrushTargetPoint) degrees)
-
Animation - Play Faceless Hunter Kam Ghoststeer 0003 <gen>'s spell animation
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Integer((Distance between TempPointCrush and CrushTargetPoint))) Less than or equal to 64
-
-
Then - Actions
-
Set TempGroupCrush = (Units within 100.00 of TempPointCrush)
-
Unit Group - Pick every unit in TempGroupCrush and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(crush_caster belongs to an enemy of (Owner of (Picked unit))) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in TempGroupCrush) Greater than 0
-
-
Then - Actions
-
Unit - Cause crush_caster to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Magic
-
Special Effect - Create a special effect at TempPointCrush2 using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Game - Display to (All players) for 1.00 seconds the text: (Name of (Picked unit))
-
-
Else - Actions
-
Game - Display to (All players) for 1.00 seconds the text: NO TARGET
-
-
-
-
Else - Actions
-
-
-
-
Unit - Turn collision for crush_caster On
-
Unit - Unpause crush_caster
-
Animation - Change crush_caster's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
-
Custom script: call DestroyGroup(udg_TempGroupCrush)
-
Custom script: call RemoveLocation(udg_CrushTargetPoint)
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Unit - Move crush_caster instantly to TempPointCrush2
-
-
-
Custom script: call RemoveLocation(udg_TempPointCrush)
-
Custom script: call RemoveLocation(udg_TempPointCrush2)
-
-
-
Game - Display to (All players) for 1.00 seconds the text: (Name of (Picked unit))
-
Else - Actions
-
Game - Display to (All players) for 1.00 seconds the text: NO TARGET
-
What am i missing in here?