| 01-24-2006, 07:28 PM | #2 |
There are two events, "a unit dies" and "a hero becomes revivable". The second event happens with a certain delay after the first, about 5 seconds or something like that. During that time, you can't revive your hero yet. If you are testing this with a low level hero, chances are this is your problem, because you would try to revive a level 1 hero after only 2 seconds. If this is the problem, try increasing the revive times or use the "becomes revivable" event. |
| 01-24-2006, 07:40 PM | #3 |
"a hero becomes revivable" I think i will use this event then. I tested out a few times just now, i notice that player 3 - 5 revive normally, but not 6 - 8. I think its something to do with the looping, i guess i will just combine those 3 with 1 more IF statement. Thanks. |
| 01-24-2006, 07:49 PM | #4 |
only explanation would be, are you initializing the deadhero array correctly? |
| 01-24-2006, 08:48 PM | #5 |
Pfft, that delay time = no matter at all. I revive dead heroes all the time before any sort of delay, that "Becomes Revivable" ONLY applies to revival from a tavern or altar |
| 01-25-2006, 03:59 PM | #6 |
Prob solved, dying unit and rivivalbe unit works fine. The only prob is the loop, i just combined them together in 1 loop with 1 more condition "hero level (interger A) less than 6". It works nicely now :) Thanks to all. |
