Difference between revisions of "Talk:Special variables"
Jump to navigation
Jump to search
imported>JOG (fQuestDelayTime==0 => Quest Script runs all 5 seconds.) |
imported>JOG m |
||
Line 8: | Line 8: | ||
Begin Gamemode | Begin Gamemode | ||
set fQuestDelayTime to 0 | |||
set count to count + 1 | set count to count + 1 | ||
set timer to timer + getsecondspassed | set timer to timer + getsecondspassed |
Revision as of 14:44, 9 June 2006
fQuestDelayTime == 0 means that the quest script will run with the default setting value of 5 seconds.
scn TestQuestScript float fQuestDelayTime float timer float count Begin Gamemode set fQuestDelayTime to 0 set count to count + 1 set timer to timer + getsecondspassed if timer > 10 message "%G" count set count to 0 set timer to 0 endif end
This displays "2" every 10 seconds; q.e.d.
see also here: Quest script