Code:
Assassination Hero Death
Events
Unit - A unit Dies
Conditions
((Unit-type of (Triggering unit)) Equal to Commander) or ((Unit-type of (Triggering unit)) Equal to King)
Actions
Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + hero has dead. It would be revive in 3 minutes.)
For each (Integer A) from 1 to 11, do (Actions)
Loop - Actions
Set Unit_Revive[(Integer A)] = (Triggering unit)
Wait 180.00 seconds
Set Revive_Point = (Position of Spartan Command Center 0023 <gen>)
Hero - Instantly revive (Triggering unit) at Revive_Point, Show revival graphics
Camera - Pan camera for (Owner of (Triggering unit)) to Revive_Point over 0.00 seconds
Custom script: call RemoveLocation(udg_Revive_Point)
[COLOR="Red"]Custom script: call (udg_)[/COLOR]
What is the code to destroy unit ? I forgot the code.