LuaGameplay.wiki
changeset 1794 7b07726d12f3
parent 1779 9cb32a3519ee
child 1796 8b10d405a1a0
equal deleted inserted replaced
1793:b549350dca64 1794:7b07726d12f3
     4 This page is a list of all gameplay-related functions in the [LuaAPI Lua API].
     4 This page is a list of all gameplay-related functions in the [LuaAPI Lua API].
     5 
     5 
     6 <wiki:toc max_depth="3" />
     6 <wiki:toc max_depth="3" />
     7 
     7 
     8 == `GameFlags` functions ==
     8 == `GameFlags` functions ==
     9 `GameFlags` are boolean settings of the game. See [LuaGlobals#GameFlags].
     9 `GameFlags` are boolean settings of the game. You should call these functions only in the `onGameInit` [LuaEvents event]. See [LuaGlobals#GameFlags].
    10 
    10 
    11 === <tt>!ClearGameFlags()</tt> ===
    11 === <tt>!ClearGameFlags()</tt> ===
    12 Disables *all* !GameFlags.
    12 Disables *all* !GameFlags.
    13 
    13 
    14 === <tt>!DisableGameFlags(gameflag, ...)</tt> ===
    14 === <tt>!DisableGameFlags(gameflag, ...)</tt> ===