News:

HOT TIP! Enable the History Window in the main UI when trying to problem solve. It provides a handy log of what is happening. Roll over lines in the History to get more details.

Main Menu

Best method for long delays ?

Started by xtermin8r, December 28, 2012, 08:09:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xtermin8r

hi everyone

After giving it some thought, I figured out why it did not work.

what must be done is  something like this
Scenario 1 : keys will be pressed 5 seconds apart.

VC.SetEventTimer 5 presskey a             after 5 seconds key a gets pressed
VC.SetEventTimer 10 presskey b           after another 5 seconds b gets pressed
VC.SetEventTimer 15 presskey c           after another 5 seconds key c gets pressed

NOT THIS
Scenario 2 : all keys will pressed consecutively after 5 seconds.

VC.SetEventTimer 5 presskey a
VC.SetEventTimer 5 presskey b
VC.SetEventTimer 5 presskey c

thanks to everyone who helped.
Neural Net Based Artificial Intelligence.