timers in simulation

5 years 9 months ago #29529908 by Faisal_engr
i cant see timer in simulation the code is

if(firstside)
setCommand(_GO, 2, 300)
SetTimerCount(0,10)
if gettimerstate(0) then firstside=false

end if

it is simple code but when i run in simulation it just show setcommand and not show settimercount and never condition get true for timer

i dont know how should i check ... kindly help me

Please Log in or Create an account to join the conversation.

5 years 9 months ago #29529911 by TechSupport
Replied by TechSupport on topic timers in simulation
The timers in simulation don't work the same in simulation mode. Page 138 usermanual.

Perhaps you can try running it as a script in the console tab by clicking on "Run" at the very top of the browser.

To see data get reported back in the console indata box, you have to use print statements followed by at least 1 wait(1) statement.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.107 seconds