4
edits
ExtremeCode (talk | contribs) m (→Functions) |
ExtremeCode (talk | contribs) m (→Functions) |
||
| Line 27: | Line 27: | ||
:Displays a HUD showing information about connection, cameras, trigger timelines, and memory use(?); cycles through three different levels of detail. | :Displays a HUD showing information about connection, cameras, trigger timelines, and memory use(?); cycles through three different levels of detail. | ||
;<nowiki>game:gameTiming():GetTotalTime()</nowiki> | |||
:Returns game time in <u>long</u> data type, this number constantly increases. | |||
:Can be used for in-game timers. | |||
| Line 74: | Line 78: | ||
;<nowiki>game:soundBarn():ToggleMuteMusic()</nowiki> | ;<nowiki>game:soundBarn():ToggleMuteMusic()</nowiki> | ||
:Toggles game music ON / OFF | :Toggles game music ON / OFF | ||
;<nowiki>game:QueueLevel( "Level_Name" )</nowiki> | |||
:Instantly warps player to beginning of specified level and starts regular triggers. | |||
:Available options: <code>Level_Graveyard, Level_Barrens, Level_Desert, Level_Canyon, Level_Cave, Level_Ruins, Level_Mountain, Level_Summit, Level_Credits, Level_Desert, Level_Bryan, Level_Chris</code> | |||