Hello!
I have this "respawn" trigger that doesn't work right...
Any ideas how to make it work? and how to remove the handle( call RemoveLocation(udg_Point4[Counter_Index]) doesn't seem to be working )
Respawn
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 2 (Blue)
Actions
Set Counter = (Counter + 1)
Unit - Set the custom value of (Dying unit) to Counter
Set Point4[Counter] = (Position of (Dying unit))
Wait 5.00 game-time seconds
Unit - Create 1 (Unit-type of (Dying unit)) for Player 2 (Blue) at Point4[Counter] facing Default building facing degrees
Special Effect - Create a special effect at Point4[Counter] using Objects\Spawnmodels\Other\ToonBoom\ToonBoom.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_Point4[Counter_Index])