# HG changeset patch
# User Wuzzy
# Date 1441850524 0
# Node ID c6d08e0742230a48196b7f97992bd82ae2d03531
# Parent 9a690b99f3e9951e98afb2489f6a7c7e653e961a
Add GameFlags variable for onGameInit
diff -r 9a690b99f3e9 -r c6d08e074223 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 @@
=== onGameInit() ===
This function is called before the game loads its resources. One can modify various game variables here:
* Seed = 0 - sets the seed of the random number generator
- * !EnableGameFlags(gfSolidLand, gfArtillery) - sets the !GameFlags (just 2 of them in this example), see above for the available flags/
+ * !GameFlags - all !GameFlags combined as a bitmask. See [#GameFlags_functions] for easier manipulation of !GameFlags
* Ready = 5000 - the ready timer at the start of the round (in milliseconds)
* Delay = 0 - delay between each round in ms
* !GetAwayTime = 100 set the retreat time in percent