Hello,
I don't know if I'm doing it wrong, but it seems my copy of Blitzplus doesn't recognise WaitTimer. I've set it up correctly, with the Createtimer(60) but when I type WaitTimer it doesn't change to yellow and when I run the code it says the function is not found???
Do I need to declare it at the start or something?
cheers
timer=CreateTimer(60)
Repeat
WaitEvent()
If EventId()=$803 quit=true
If EventID()=$4001 ; timer-event
; your stuff here
EndIf
Until quit
in case you have more timers:
If EventID()=$4001 ; timer-event
If EventSource()=timer
; your stuff here
EndIf
EndIf
Thanks CS, I'll use that method instead :)
I have the same problem
What happened to Waittimer? IT worked in Blitzplus demo, but not in my version(v1.11) that I just purchased.
Yeah that's because you have an ancient version. BlitzPlus is currently at version number 1.45. On this webpage, go to Account->Product Updates and download the 1.45 version, and run the .exe. Then WaitTimer will appear yellow in the IDE and you'll be able to use it.
They really should update the downloads. I really hate it when I buy a product online, download it, and then find they've not bothered updating it to the latest version. IT's just really annoying. They even do this with MMO's, you install the game, then have to wait hours for it update itself.