Difference between revisions of "Talk:Special variables"
no edit summary
imported>JOG m |
imported>JOG |
||
Line 18: | Line 18: | ||
end | end | ||
This displays "2" every 10 seconds | This displays "2" every 10 seconds... | ||
scn TestQuestScript | |||
float fQuestDelayTime | |||
float timer | |||
float count | |||
Begin Gamemode | |||
set fQuestDelayTime to 0.01 | |||
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 | |||
And this displays your current Framerate * 10 | |||
qed. | |||
see also here: [[Quest script]] | see also here: [[Quest script]] |