Difference between revisions of "Talk:Special variables"
Jump to navigation
Jump to search
→Errors on page
imported>TyrHi7 m |
imported>Haama |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 9: | Line 9: | ||
Begin Gamemode | Begin Gamemode | ||
set fQuestDelayTime to 0 | set fQuestDelayTime to 0 | ||
set count to count | set count to count + 1 | ||
set timer to timer | set timer to timer + getsecondspassed | ||
if timer > 10 | if timer > 10 | ||
message "%G" count | message "%G" count | ||
Line 28: | Line 28: | ||
Begin Gamemode | Begin Gamemode | ||
set fQuestDelayTime to 0.01 | set fQuestDelayTime to 0.01 | ||
set count to count | set count to count + 1 | ||
set timer to timer | set timer to timer + getsecondspassed | ||
if timer > 10 | if timer > 10 | ||
message "%G" count | message "%G" count | ||
Line 44: | Line 44: | ||
--[[User:JOG|JOG]] 16:07, 9 June 2006 (EDT) | --[[User:JOG|JOG]] 16:07, 9 June 2006 (EDT) | ||
== Errors on page == | |||
Gamehour is incorrectly indicated as floating point number. It should be type short. --[[User:Jorne|Jorne]] 13:39, 29 February 2008 (EST) | |||
:While GameHour is listed as a short in the Globals menu, it returns a float. For instance, if it's 2:30 | |||
float Test | |||
... | |||
set Test to GameHour | |||
printc "Gamehour is %.2f", Test | |||
will print out "Gamehour is 2.5"--[[User:Haama|Haama]] 14:18, 29 February 2008 (EST) |