H
Hell-Pleaque
Guest
This is my trigger to revive heroes.
It works great... if I'm alone. I tried my map with the other computer through LAN and when his hero died the text showed but when the revive revived the other computer gets "You were disconnected".
The disconnect happens when Hero - Instantly revive [...]
Anyone can find out why?
ReviveHero
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
(Unit-type of (Dying unit)) Not equal to Low Quality Battleship
(Unit-type of (Dying unit)) Not equal to Superior Battleship
(Unit-type of (Dying unit)) Not equal to Unique Battleship
Actions
Player - Add (((Owner of (Dying unit)) Current gold) / -8) to (Owner of (Killing unit)) Current gold
Game - Display to (All players) the text: (PlayerColors[(Player number of (Owner of (Dying unit)))] + ((Name of (Owner of (Dying unit))) + (|r + ( lost + ((String((((Owner of (Dying unit)) Current gold) / 8))) + ( because he died... + ( he will revive in + ((String((4 x (Hero level of (Dying unit))
Wait (4.00 x (Real((Hero level of (Triggering unit))))) game-time seconds
Hero - Instantly revive (Dying unit) at (Center of Hero Spawn <gen>), Show revival graphics
Camera - Pan camera as necessary for (Owner of (Dying unit)) to (Center of Hero Spawn <gen>) over 1.50 seconds
It works great... if I'm alone. I tried my map with the other computer through LAN and when his hero died the text showed but when the revive revived the other computer gets "You were disconnected".
The disconnect happens when Hero - Instantly revive [...]
Anyone can find out why?


