CTimers and Pickingunits/players

Lizzard

New Member
Reaction score
2
Hi,I'm new to JASS and want to do something like this:

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
and 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).
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top