| 10-27-2005, 07:45 AM | #1 |
JASS:Revive Hero 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 I use WEU 1.18, this works in single player perfectly. Won't work in multiplayer correctly, all it does is revive the hero but it revives it for a neutral player. I already tried changing all the Triggering unit into Dying unit. |
| 10-27-2005, 09:31 AM | #2 |
try to revive the hero on the "hero becomes revivable" event rather than "unit dies" event. |
| 10-28-2005, 01:58 PM | #3 |
Nope didnt even work single player |
| 10-28-2005, 04:07 PM | #4 |
Did you by any chance leave the conditions as they were and just changed the event? Then of course it wouldn't work, there's no "killing unit". Make a seperate trigger for awarding gold for kills (or just the built in bounty system) and a seperate trigger for reviving. (disregard this if that's how you already tried it). |
