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

Revive Hero Trigger Help Please

Status
Not open for further replies.
Level 2
Joined
Mar 1, 2005
Messages
3
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.
 
Level 9
Joined
Aug 27, 2004
Messages
471
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.
 
Level 2
Joined
Mar 1, 2005
Messages
3
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.
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,551
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.
Top