When I enter the region, my game crashes. My dummy unit has a default active ability of entangling roots.
Here's my code:
Here's my code:
Trigger:
- Killer Roots
- Events
- Unit - A unit enters Killer Grass <gen>
- Conditions
- Actions
- Set Temp_Point = (Center of Killer Grass <gen>)
- Unit - Create 1 DUMMY for Neutral Hostile at Temp_Point facing Default building facing degrees
- Set Dummy = (Last created unit)
- Unit - Order Dummy to Night Elf Keeper Of The Grove - Entangling Roots (Triggering unit)
- Custom script: call RemoveLocation (udg_Temp_Point)
- Unit - Add a 2.00 second Generic expiration timer to Dummy
- Events