- Joined
- May 28, 2007
- Messages
- 365
- Set TempUnit = (Matching unit)
- Set TempPoint = (Position of TempUnit)
- Set TempUnitGroup1 = (Units in TempReg3 matching (((Terrain type at TempPoint) Equal to Dungeon - Lava) and ((Unit-type of (Matching unit)) Equal to Escaper)))
- Set TempUnitGroup2 = (Units in TempReg3 matching (((Terrain type at TempPoint) Equal to Northrend - Ice) and ((Unit-type of (Matching unit)) Equal to Escaper)))
-
Unit Group - Pick every unit in TempUnitGroup1 and do (Actions)
-
Loop - Actions
- Unit - Explode (Picked unit)
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
-
Unit Group - Pick every unit in TempUnitGroup2 and do (Actions)
-
Loop - Actions
- Set TempPoint2 = (Position of (Picked unit))
- Unit - Move (Picked unit) instantly to (TempPoint2 offset by 15.00 towards (Facing of (Picked unit)) degrees)
-
Loop - Actions
- Custom script: call DestroyGroup( udg_TempUnitGroup2 )
- Custom script: call DestroyGroup( udg_TempUnitGroup1 )
- Custom script: call RemoveLocation(udg_TempPoint2)
- Custom script: call RemoveLocation(udg_TempPoint)