- Joined
- Oct 17, 2009
- Messages
- 1,579
Hey there!
Can you please help me with this trigger, somehow the buff that is supposed to affect many unit only takes 1 unit.
So if anyone could please help me fix this:
Can you please help me with this trigger, somehow the buff that is supposed to affect many unit only takes 1 unit.
So if anyone could please help me fix this:
-
Blue Howl
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Blue Howl
-
Actions
- Unit Group - Pick every unit in (Units in (Region centered at (Position of (Triggering unit)) with size (650.00, 650.00))) and do (If (((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True) then do (Unit - Add Blue Howl (Enemy) to (Picked unit)) else do (Do nothing))
- Set temp_group = (Last created unit group)
- Set temp_unit = (Picked unit)
- Countdown Timer - Start temp_timer as a One-shot timer that will expire in 5.00 seconds
- Set temp_timer = (Last started timer)
- Countdown Timer - Create a timer window for temp_timer with title Blue Howl
- Countdown Timer - Hide (Last created timer window)
-
Events
-
Blue Howl Timer
-
Events
- Time - temp_timer expires
- Conditions
-
Actions
- Unit - Remove Blue Howl (Enemy) from temp_unit
- Countdown Timer - Destroy (Last created timer window)
- Custom script: call DestroyGroup(udg_temp_group)
- Custom script: call DestroyTimer(udg_temp_timer)
-
Events