- Joined
- Jul 28, 2013
- Messages
- 768
Hello, i'm trying to create a trigger that when a unit enters a region it'll get hit by the spell Entangling Roots.
I don't know what the problem is! The game freezes every time this trigger gets launched.
-
Trap1
-
Events
-
Unit - A unit enters Region 378 <gen>
-
-
Conditions
-
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
-
-
Actions
-
Set TempPointTrap = (Position of (Triggering unit))
-
Unit - Create 1 Dummy (Trap) for Player 9 (Gray) at TempPointTrap facing Default building facing degrees
-
Set Trap_Dummy = (Last created unit)
-
Unit - Add Trap to Trap_Dummy
-
Unit - Order Trap_Dummy to Night Elf Keeper Of The Grove - Entangling Roots (Triggering unit)
-
Unit - Add a 1.00 second Generic expiration timer to Trap_Dummy
-
Custom script: call RemoveLocation (udg_TempPointTrap)
-
-
I don't know what the problem is! The game freezes every time this trigger gets launched.