• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Advance Rez

Status
Not open for further replies.
Level 3
Joined
Nov 3, 2008
Messages
35
Upon hero death I want them to drop an item (their body), (ok i've done that, not so hard), but then I want that item to be the point of ressurection, a healer must have that item.. to rez the hero (not at the point of the heros death), then the item to disappear. Is there a way to do that? So the healer get the "body" then uses his rez ability and the hero is back in action.

ty in advance =D
 
Event
Unit - Unit Begins Cast Ability
Condition -
Ability Being Cast Equal to Ressurect and Casting Unit Have BodyRed,BodyBlue,BodyTeal,BodyPurple,BodyYellow and etc. equal to true
Actions -
Unit - Instantly Revive (That unit that have item).

I think taht will work for multipel hero. Bu it leaks so much ;D
 
thank you again dude, but i'm not too experienced with the GUI... I can't seem to be able to get the casting unit to have any specific items in conditions. These item, because dropped are not on the map.
 
still, specifying an item(s) that are required for the caster to have is proving impossible without placing them on the map... which defeats the point... =( presets has no items.. functions aren't letting me choose a specific item and variables... well.. do I have to use them in some way?

ty for the help though, that solved one part =)
 
  • Events
    • Unit casts an Ability
  • Conditions
    • Hero Ability equal to Ressurection
  • Actions
    • If
      • Triggering unit owns item "Body of Player 1"
    • Then
      • Revive Hero1 Instantly
    • Else
      • Do Nothing
    • If
      • Triggering unit owns item "Body of Player 2"
    • Then
      • Revive Hero2 Instantly
    • Else
      • Do Nothing
  • ...
Or do this with arrays and a for-loop. Are you sure this doesn't work? Maybe you will have to loop through the triggering unit's inventory to "find" the body of a hero in its inventory.

If this is not the point please describe your problem in detail again.
 
I got it working, but the item "body" stayed there, so I proceeded to add remove item located in the inventory of caster of "body" but then the body disappered and revive didn't work =P ahh, fun fun
 
Status
Not open for further replies.
Back
Top