Hi,I'm new to JASS and want to do something like this:
When ReviveTimers[?] expires i want to do this:
and then:
Would need some help with almost the whole thing. Or if there is a GUI condition for getting expiring timers(expirngtimer == ...) or if there is a better way to revive heroes with timers. Help would be greatly appriciated (am aware of that picking units create leaks).
When ReviveTimers[?] expires i want to do this:
Code:
UnitGroup - Pick every unit in (units in RevivableHeroes) and do (Actions)
Code:
if ((GetExpiredTimer() == ReviveTimers[GetConvertedPlayerId(*ownerof(pickedunit)*)])) then
Code:
Hero - Instantly revive (Picked unit) at (Position of DoublePosition[(Player number of (Owner of (Picked unit)))]), Show revival graphics
Would need some help with almost the whole thing. Or if there is a GUI condition for getting expiring timers(expirngtimer == ...) or if there is a better way to revive heroes with timers. Help would be greatly appriciated (am aware of that picking units create leaks).