• 🏆 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 Request

Status
Not open for further replies.
Level 3
Joined
Sep 25, 2008
Messages
50
Hi Hive, I have a trigger request :eek:
It's a hero revival system thing kind of.
Well its like this when a hero dies a wisp will spawn. The player will then send the wisp back to the base to a Circle of Power and then the hero will revive and the wisp will die. I have tried making a few triggers but none of them have worked

Here's the map
 

Attachments

  • LightAndDarkness.w3x
    379.5 KB · Views: 62
Last edited:
Well, her you got the triggers, think they should work. Just modify some things to suit your hero and such:

  • Trigger 1
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Unit - Create 1 Wisp for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
  • Trigger 2
    • Events
      • Unit - A unit comes within 80.00 of "Your Circle of Power"
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Wisp
    • Actions
      • Unit - Kill (Triggering unit)
      • Unit - Create 1 "Your Hero" for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
 
Level 3
Joined
Sep 25, 2008
Messages
50
The first trigger works but the second works but not the way I want it. It revives the hero and kills the wisp but treats it as a second hero starting at level 1. I want it to be revived just like in dota, except the wisp just has to come to the circle of power.I spent hours on this trigger but nothing came to me yet :[
 
Ah, sorry about that, forgot it :p
  • Trigger 1
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set Variable_DyingHero = (Dying unit)
      • Unit - Create 1 Wisp for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
  • Trigger 2
    • Events
      • Unit - A unit comes within 80.00 of "Your Circle of Power"
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Wisp
    • Actions
      • Unit - Kill (Triggering unit)
      • Hero - Instantly revive Variable_DyingHero at (Position of (Triggering unit)), Show revival graphics
And add an "Array" to the variable with the amount of players, and you have a trigger for each player.
 
Status
Not open for further replies.
Top