- Joined
- May 22, 2011
- Messages
- 68
-
Emergency Call Megaphone
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Emergency Call
-
Actions
- Set EmergencyCall_Time = 5.00
- Set EmergencyCall_Caster = (Casting unit)
- Set EmergencyCall_Group = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Unit-type of (Matching unit)) Not equal to Choosen One!) and (((Matching unit) belongs to an ally of (Owner of EmergencyCall_Caster)) Equal to True))))
- Game - Display to (All allies of (Owner of EmergencyCall_Caster)) for 5.00 seconds the text: |cFF00FFFFEmergency...
-
Unit Group - Pick every unit in EmergencyCall_Group and do (Actions)
-
Loop - Actions
- Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\DeathPact\DeathPactTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Wait EmergencyCall_Time seconds
-
Unit Group - Pick every unit in EmergencyCall_Group and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to (Position of EmergencyCall_Caster)
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Custom script: call DestroyGroup(udg_EmergencyCall_Group)
- Custom script: call DestroyGroup(udg_EmergencyCall_Group)
-
Events