- Joined
- Jun 20, 2017
- Messages
- 380
I wanna set afk timer in multiboard that a player is not moving for 30 sec the timer start and after moving the timer reset. But the trigger does not work!
-
Multiboard AFK
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


Set Integer_AFK = (Player number of (Triggering player))
-



Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
-




Loop - Actions
-





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






If - Conditions
-







(Rect_AFK[(Integer A)] contains (Triggering unit)) Equal to (==) True
-
-






Then - Actions
-







Set Integer_AFK = ((Player number of (Triggering player)) + 1)
-
-






Else - Actions
-
-





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






If - Conditions
-







Integer_AFK Equal to (==) 29
-
-






Then - Actions
-







Do Multiple ActionsFor each (Integer A) from 1 to 3, do (Actions)
-








Loop - Actions
-









Multiboard - Set the text for Multiboard[(Integer B)] item in column 2, row (Integer_RowPlayers[(Player number of (Picked player))] + 2) to (String_PlayerColors[15] + (String((Integer_AFK + (Player number of (Picked player))))))
-
-
-







Set String_TimeTag = (((String(Integer_TimeHour)) + :0) + (((String(Integer_TimeMinutes)) + :0) + (String(Integer_TimeSeconds))))
-
-






Else - Actions
-
-
-
-
-
-








