Waittimer isn't recognised?

BlitzPlus Forums/BlitzPlus Beginners Area/Waittimer isn't recognised?

Roe(Posted 2005) [#1]
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


CS_TBL(Posted 2005) [#2]
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



Roe(Posted 2005) [#3]
Thanks CS, I'll use that method instead :)


Dan60(Posted 2008) [#4]
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.


Sauer(Posted 2008) [#5]
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.


Dan60(Posted 2008) [#6]
Ok thanks,


andy_mc(Posted 2008) [#7]
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.