Hello Hive! Today I finally began the actual trigger work to one of my newer projects, so I decided to start out with the Chamber of Titans. At first, the chamber is off-limits, so there are a few guards at the door. Once you walk in, the guards look at you and you get ported out.
When you get ported out, a special effect appears on you for a few seconds. However if multiple units enter the region to get ported out before the special effect wares off, the new effect is deleted, but the older one is not.
Variable:
FountIntruderPortEffect
Special Effect
[ ] Array
None
If anyone could point me in the right direction for this one, I would greatly appreciate it!
When you get ported out, a special effect appears on you for a few seconds. However if multiple units enter the region to get ported out before the special effect wares off, the new effect is deleted, but the older one is not.
Variable:
FountIntruderPortEffect
Special Effect
[ ] Array
None
-
Port
-
Events
- Unit - A unit enters FountPort1 <gen>
- Unit - A unit enters FountPort2 <gen>
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 1 (Red)
-
Actions
- Unit Group - Pick every unit in PortDoorGuards and do (Unit - Make (Picked unit) face (Triggering unit) over 0.00 seconds)
- Unit Group - Pick every unit in PortDoorGuards and do (Animation - Play (Picked unit)'s Spell animation)
- Special Effect - Create a special effect attached to the foot of (Triggering unit) using Abilities\Spells\Human\MassTeleport\MassTeleportTo.mdl
- Set FountIntruderPortEffect = (Last created special effect)
- Wait 1.32 seconds
- Unit - Move (Triggering unit) instantly to (Center of FountPortLocation <gen>)
- Special Effect - Destroy FountIntruderPortEffect
- Unit Group - Pick every unit in (Units in GROUP FountDoorguards <gen>) and do (Unit - Make (Picked unit) face 280.00 over 0.00 seconds)
- Unit - Make Fount Guardian 0017 <gen> face 26.00 over 0.00 seconds
- Unit - Make Fount Guardian 0018 <gen> face 200.00 over 0.00 seconds
- Trigger - Turn on (This trigger)
- Trigger - Turn on PortWarning2 <gen>
- Trigger - Turn on PortWarning1 <gen>
-
Events
If anyone could point me in the right direction for this one, I would greatly appreciate it!