Add GameFlags variable for onGameInit
authorWuzzy
Thu, 10 Sep 2015 02:02:04 +0000
changeset 628 c6d08e074223
parent 627 9a690b99f3e9
child 629 d4ccc5e79e58
Add GameFlags variable for onGameInit
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Sep 10 01:58:46 2015 +0000
+++ b/LuaAPI.wiki	Thu Sep 10 02:02:04 2015 +0000
@@ -134,7 +134,7 @@
 === <tt>onGameInit()</tt> ===
 This function is called before the game loads its resources. One can modify various game variables here:
  * <tt>Seed = 0</tt> - sets the seed of the random number generator
- * <tt>!EnableGameFlags(gfSolidLand, gfArtillery)</tt> - sets the !GameFlags (just 2 of them in this example), see above for the available flags/
+ * <tt>!GameFlags</tt> - all !GameFlags combined as a bitmask. See [#GameFlags_functions] for easier manipulation of !GameFlags
  * <tt>Ready = 5000</tt> - the ready timer at the start of the round (in milliseconds)
  * <tt>Delay = 0</tt> - delay between each round in ms
  * <tt>!GetAwayTime = 100</tt> set the retreat time in percent