• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Prompted Revive Trigger

Status
Not open for further replies.
Level 5
Joined
May 10, 2009
Messages
88
Okay I am very confused on this and really do not know how to create this trigger so hoping someone can help me please...

I want to create a prompted revive trigger like those in vampirism.

Player (red) types a message containing "-revive gray" as an exact match

I dunno what to do after that...here is a basis:

Grey can have one of four heros, 1 2 3 or 4

How can I put them into an offset group or something, so when red types this, then they revive in region "R"?

Basically, I want red to control reviving of this player, and not make it instant or on a timer
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Untitled Trigger 110
    • Events
      • Player - Player 1 (Red) types a chat message containing -revive gray as An exact match
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Temp_Unit_1 is dead) Equal to True
        • Then - Actions
          • Hero - Instantly revive Temp_Unit_1 at Temp_Loc_1, Hide revival graphics
        • Else - Actions
Set the selected unit to the unit variable, and the spawn location to the point variable.
 
Status
Not open for further replies.
Top