equal
deleted
inserted
replaced
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> === |