• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Turn off Hero Revive?

Status
Not open for further replies.
Level 21
Joined
Mar 16, 2008
Messages
962
Trying to add a game mode option with no resurrections, so was thinking the easiest way to do that would be edit the altar to do that. Is there any function that can do that? Or else I'll need to replace the altars. Hope this makes sense. Thanks.
 
Level 21
Joined
Mar 16, 2008
Messages
962
Or you can just make a trigger so that when a hero dies, they are removed from the game; this stops them from being revived.
Good idea. Thinking maybe something like this:

  • hero auto rez 0
    • Events
      • Unit - A unit owned by Player 1 (Red) Becomes revivable
      • Unit - A unit owned by Player 2 (Blue) Becomes revivable
      • Unit - A unit owned by Player 3 (Teal) Becomes revivable
      • Unit - A unit owned by Player 4 (Purple) Becomes revivable
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • hc_bool Equal to True
        • Then - Actions
          • Unit - Remove (Revivable Hero) from the game
        • Else - Actions
          • Countdown Timer - Start hero_rez_timer[(Player number of (Owner of (Revivable Hero)))] as a One-shot timer that will expire in 2.50 seconds
 
Level 21
Joined
Mar 16, 2008
Messages
962
That is good but I think it would look better to see the hero disipate/decay.

Now I'm thinking just make them decay, that would make more sense that their spirit returning to the altar, but perhaps too difficult with the animations heroes come with.
 
Status
Not open for further replies.
Top