- Joined
- Jun 2, 2009
- Messages
- 1,276
Some say this will gonna work most of the times. But as we know WE have serious problems with Wait function. But is it works for ANOTHER PLAYER?
I just want to set boolean false for x seconds, then make it true. Should i run timer for every time? Or is it going to work?
Every player have only one Heroes and why should i use timer if this one works?
I just want to set boolean false for x seconds, then make it true. Should i run timer for every time? Or is it going to work?
-
run tower range
-

Events
-


Unit - A unit Begins channeling an ability
-
-

Conditions
-


((Triggering unit) belongs to an enemy of (Owner of (Target unit of ability being cast))) Equal to True
-


((Target unit of ability being cast) is A Hero) Equal to True
-


((Triggering unit) is in HerolarBotALL) Equal to True
-


fAI_run_tower2[(Player number of (Owner of (Triggering unit)))] Equal to False
-
-

Actions
-


Set TempPoint = (Position of (Target unit of ability being cast))
-


Set TempGroup = (Units within 800.00 of TempPoint matching ((((Matching unit) is in zug_TowersALL) Equal to True) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True))))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Number of units in TempGroup) Greater than 0
-
-



Then - Actions
-




Unit - Order (Triggering unit) to Move To (Center of PreviousTarget[(Player number of (Owner of (Triggering unit)))])
-




Set fAI_run_tower2[(Player number of (Owner of (Triggering unit)))] = True
-
-



Else - Actions
-
-


Custom script: call DestroyGroup(udg_TempGroup)
-


Custom script: call RemoveLocation(udg_TempPoint)
-


Wait 2.00 seconds
-


Set fAI_run_tower2[(Player number of (Owner of (Triggering unit)))] = False
-
-
Every player have only one Heroes and why should i use timer if this one works?
Last edited:



