| 12-27-2003, 06:10 AM | #1 |
I set up a countdown timer for hero revivals on my map, it works perfectly, however i cant seem to find the proper action to revive the hero that died. How do i do this? |
| 12-27-2003, 06:21 AM | #2 |
E- A unit dies. C- dying unit is a hero = true A- Wait 3 x hero level of dying unit seconds. A- Instantly revive dying unit at location. Instant revive can be found in the Units section. It's Revive Hero (Instantly), I think. The 3 can be any number you want... or the wait could be a solid number instead of a function of the level. If you want the player to lose gold, do Set player property gold of owner of dying unit to current gold of owner of dying unit. |
