- Joined
- Mar 26, 2020
- Messages
- 202
How do you command the building to revive a hero unit? I've seen campaigns with npc that revives heroes like a functional melee AI map. what i've tried was this, but i want is to actually revive on the building...because i tried with the "Issue Order Targeting A Unit" but it didn't work as i wanted so this is what i did instead (temporary)
-
NPC revive
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


(Owner of (Triggering unit)) Equal to Player 2 (Blue)
-


Or - Any (Conditions) are true
-



Conditions
-




(Unit-type of (Triggering unit)) Equal to Custom Paladin
-
-
-
-

Actions
-


Wait (50.00 + ((Real((Hero level of (Triggering unit)))) x 2.00)) game-time seconds
-


Set TempPoint = (Position of Custom Altar 0001 <gen>)
-


Hero - Instantly revive (Triggering unit) at TempPoint, Show revival graphics
-


Custom script: call RemoveLocation(udg_TempPoint)
-
-

