Author Topic: Best method for long delays ?  (Read 4845 times)

0 Members and 1 Guest are viewing this topic.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Best method for long delays ?
« Reply #15 on: January 08, 2013, 07:33:57 PM »
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.