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

Revive Hero Trigger Help Please

Status
Not open for further replies.

KaosMaster

K

KaosMaster

Here is the trigger i have so far:

JASS:
Events
    Unit - A unit Dies
Conditions
    ((Triggering unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
    ((Triggering unit) is A Hero) Equal to True
Actions
    Player - Add 100 to (Owner of (Killing unit)) Current gold
    Advanced - Simulate receipt of 100 gold at point ((X of (Killing unit)),(Y of (Killing unit)))
    Hero - Instantly revive (Triggering unit) at ((Owner of (Triggering unit)) start location), Show revival graphics

It works in single player but in multiplayer all it does is revive the hero and keep the color of the player who owned it but its neutral passive's hero.

I use WEU 1.18.
 
Dont use triggering unit for death triggers. Use dying unit. Triggering unit is a last resort.

Weu can mess games up, and it usualy does. Weu created games require a patch (That every player needs) for multi-player use, so it wont work online.

Use the normal editor.
 
Ive made more than a few maps with weu without this patch. And ive tested this map with friends I know dont have the patch. I have used dying unit and i get the same result. Which is why i use triggering unit, this is a last resort.

Also i need the WEU for things like voting and hero selection sustem, i really dont feel like spending alot of time coding my own.
 
Modeler said:
Dont use triggering unit for death triggers. Use dying unit. Triggering unit is a last resort.

Weu can mess games up, and it usualy does. Weu created games require a patch (That every player needs) for multi-player use, so it wont work online.

Use the normal editor.

That only happens if you use different cliff textures. Otherwise, it will only need WEU to open the map.

-Rui
 
Status
Not open for further replies.
Back
Top