• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

Revive Hero Instantly

Status
Not open for further replies.
Level 10
Joined
Nov 17, 2004
Messages
275
For some reason I can't get the "Revive Hero Instantly" function to work. The trigger simply reads "Specific unit dies, revive that unit at point". I can't think of why it isn't working. Is there a custom script that could revive the hero? I'm using the Jass New Gen editor (if that's relevant). I've also tried it with the generic unit dies event.
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
For some reason I can't get the "Revive Hero Instantly" function to work. The trigger simply reads "Specific unit dies, revive that unit at point". I can't think of why it isn't working. Is there a custom script that could revive the hero? I'm using the Jass New Gen editor (if that's relevant). I've also tried it with the generic unit dies event.

Post the trigger your using to revive him.
 
Level 4
Joined
Mar 28, 2009
Messages
66
  • Events
  • Unit - A unit Dies
  • Conditions
  • ((Triggering unit) is A Hero) Equal to True
  • Actions
  • set - TempPoint = (center of (playable map area))
  • Hero - Instantly revive (Triggering unit) at TempPoint, Hide revival graphics
  • Custom script: call RemoveLocation(udg_TempPoint)
this one doesnt leak
 
Last edited:
Level 10
Joined
Nov 17, 2004
Messages
275
  • Events
  • Unit - A unit Dies
  • Conditions
  • ((Triggering unit) is A Hero) Equal to True
  • Actions
  • set - TempPoint = (center of (playable map area))
  • Hero - Instantly revive (Triggering unit) at TempPoint, Hide revival graphics
  • Custom script: call RemoveLocation(udg_TempPoint)
this one doesnt leak

I had been using that, but I think a map file may have been corrupted. I exported the directories for terrain and custom units to a blank new map and redid the triggers. It works now. Thanks everyone.
 
Status
Not open for further replies.
Top