Hi.

I am trying to get a timer to work in a gameScript.

it works fine in an itemScript using the following code, but the same code does not work in my gameScript (the script is active and it works otherwise). Any ideas?

Code
ON
	OnUseItem(_playerChar,__Me)
ACTIONS
	StartTimer("MissionTimerTick", 1, 5)
	Output("timer started")
	
EVENT MissionTimer
VARS
ON
	OnTimer("MissionTimerTick")
ACTIONS
	Output("ticking from item")


Here is the non working gameScript.

Code
EVENT LeverUsed
VARS
	CHARACTER: _thisChar
ON
	OnUseItem(_thisChar, ITEM:S_My_Lever_cfc46525-0878-499e-8936-f1e9d9842e61)
ACTIONS
	StartTimer("MissionTimerTick", 1, 5)
	Output("timer started")
	
EVENT MissionTimer
VARS
ON
	OnTimer("MissionTimerTick")
ACTIONS
	Output("ticking from game")