- Joined
- Aug 8, 2010
- Messages
- 1,022
Hi! See the title and then look below!
-
The LP trigg
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Lightning Pulse [Electro]
-
Actions
- Set LevelOfLpulse = (Level of Lightning Pulse [Electro] for (Triggering unit))
- Set UnitLPulseGroup = (Units within (430.00 + (20.00 x (Real(LevelOfLpulse)))) of (Position of (Triggering unit)) matching (((Picked unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False))
-
Unit Group - Pick every unit in UnitLPulseGroup and do (Actions)
-
Loop - Actions
- Set Dummy4LPulseArrayLightning = (Dummy4LPulseArrayLightning + 1)
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
- Set Dummy4LPulseLightning[Dummy4LPulseArrayLightning] = (Last created unit)
- Unit - Add Lightning Pulse 4 dummy to Dummy4LPulseLightning[Dummy4LPulseArrayLightning]
- Unit - Add a 1.00 second Generic expiration timer to Dummy4LPulseLightning[Dummy4LPulseArrayLightning]
- Unit - Set level of Lightning Pulse 4 dummy for Dummy4LPulseLightning[Dummy4LPulseArrayLightning] to LevelOfLpulse
- Unit - Order Dummy4LPulseLightning[Dummy4LPulseArrayLightning] to Orc Far Seer - Chain Lightning (Picked unit)
- Set Dummy4LPulseArrayLightning = (Dummy4LPulseArrayLightning - 1)
- Custom script: call RemoveUnit( udg_Dummy4LPulseLightning[udg_Dummy4LPulseArrayLightning] )
-
Loop - Actions
-
Unit Group - Pick every unit in UnitLPulseGroup and do (Actions)
-
Loop - Actions
- Set Dummy4LPulseArraySlow = (Dummy4LPulseArraySlow + 1)
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
- Set Dummy4LPulseSlow[Dummy4LPulseArraySlow] = (Last created unit)
- Unit - Add slow 4 LP dummy to Dummy4LPulseSlow[Dummy4LPulseArraySlow]
- Unit - Add a 1.00 second Generic expiration timer to Dummy4LPulseSlow[Dummy4LPulseArraySlow]
- Unit - Set level of slow 4 LP dummy for Dummy4LPulseSlow[Dummy4LPulseArraySlow] to LevelOfLpulse
- Unit - Order Dummy4LPulseSlow[Dummy4LPulseArraySlow] to Human Sorceress - Slow (Picked unit)
- Set Dummy4LPulseArraySlow = (Dummy4LPulseArraySlow - 1)
- Custom script: call RemoveUnit( udg_Dummy4LPulseSlow[udg_Dummy4LPulseArraySlow] )
-
Loop - Actions
- Custom script: call DestroyGroup( udg_UnitLPulseGroup )
-
Events