HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with local variables

05-30-2005, 02:43 PM#1
Axiverse
I've done as the tutorial on local variables said, but I have a problem with timers: When I use a local timer, it no longer works. I think it's because it needs to be intilized or something. Anyone know how to do this or fix this problem?
05-30-2005, 08:06 PM#2
Zoxc
Try this
call StartTimerBJ( LocalTimerVariable , false/true (Looping?), 30 (Time in sec.) )

To make a dialog

call CreateTimerDialogBJ( bj_lastStartedTimer, "Window Title" )

Don't forget

call DestroyTimer(LocalTimerVariable)
call DestroyTimerDialog(bj_lastCreatedTimerDialog) // Best to store this in a local variable or global
05-30-2005, 10:21 PM#3
Vexorian
You have to use set (Variablename) = CreateTimer()

then TimerStart native to start the timer