A
Agrajag
Guest
I've spent about four hours trying to fix this seemingly easy problem, but I just can't figure it out. I'll try to explain.
When a hero dies, this and that happens, and at a certain point the hero is supposed to revive. None of this and that generates any problems whatsoever, the problem seems to be the actual reviving code... Even if I tell the hero to revive instantly after it's death, it don't. Like this:
Event: a unit owned by player 1 dies
Condition: no condition
Actions: wait 10 seconds
instantly revive (dying unit) at (player 1 start location), show revival graphics
A perfectly simple trigger, working in a new map, and now suddenly it doesn't work! Anybody know what could be the problem? Could it be basing several custom heros off the same unit? I tried to do that in a new map, but reviving worked just fine. I tried to revive other heros, but nobody was willing to be revived. A trigger checking if the hero is revivable tells me it is revivable... Gahh, please help! I've been sitting with this problem the whole day, it's getting pretty frustrating. Thanks.
When a hero dies, this and that happens, and at a certain point the hero is supposed to revive. None of this and that generates any problems whatsoever, the problem seems to be the actual reviving code... Even if I tell the hero to revive instantly after it's death, it don't. Like this:
Event: a unit owned by player 1 dies
Condition: no condition
Actions: wait 10 seconds
instantly revive (dying unit) at (player 1 start location), show revival graphics
A perfectly simple trigger, working in a new map, and now suddenly it doesn't work! Anybody know what could be the problem? Could it be basing several custom heros off the same unit? I tried to do that in a new map, but reviving worked just fine. I tried to revive other heros, but nobody was willing to be revived. A trigger checking if the hero is revivable tells me it is revivable... Gahh, please help! I've been sitting with this problem the whole day, it's getting pretty frustrating. Thanks.


