D
danhel
Guest
Soo, whats the problem with this?
Code:
Die Blue Copy
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Set Dead_Mortal_Hero[(Player number of (Owner of (Dying unit)))] = (Dying unit)
Set Mortal_Die_Point[(Player number of (Owner of (Dying unit)))] = (Position of (Dying unit))
Unit - Create 1 Spirit (Mortal) for Player 1 (Red) at Mortal_Die_Point[(Player number of (Owner of (Dying unit)))] facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Move To Mortal_Revive_Point
Rect - Center Human Revive <gen> on Mortal_Die_Point[(Player number of (Owner of (Dying unit)))]
Trigger - Turn on wtf2 <gen>