• 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.

[Trigger] Auto reviving heroes after delay

Status
Not open for further replies.
Level 10
Joined
Jun 7, 2008
Messages
420
No jass please.

Please tell me how to make heroes automatically respawn in a region in HeroLevel x 3 seconds with a maximum of 60. Something like dota's hero respawn, just less detailed.

Also, how to make a
<playername,playerhero> has just inflicted a mortal wound to <playername,playerhero> for <level of dead hero x 50 gold>

And how to make the killing player gain <level of dead hero x 50 gold>
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Hmm try this one^^

  • Revive
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Player - Add ((Integer((Real((Level of (Dying unit)))))) x 50) to (Owner of (Killing unit)) Current gold
      • Game - Display to (All players) for 15.00 seconds the text: (((Name of (Owner of (Killing unit))) + (Name of (Killing unit))) + (( owned + (Name of (Owner of (Dying unit)))) + (Name of (Dying unit))))
      • Wait ((Real((Level of (Dying unit)))) x 3.00) seconds
      • Hero - Instantly revive (Dying unit) at (Center of (Playable map area)), Hide revival graphics
 
Status
Not open for further replies.
Top