# HG changeset patch # User sheepyluva@gmail.com # Date 1390316367 0 # Node ID 87b3dcfe11ccee9ac86ed2c6f7348e1fa8c245d0 # Parent b9bd613524ca4cea944953845dd629b29556178b I hate the wiki syntax... and I think it hates me too diff -r b9bd613524ca -r 87b3dcfe11cc LuaAPI.wiki --- a/LuaAPI.wiki Tue Jan 21 14:58:00 2014 +0000 +++ b/LuaAPI.wiki Tue Jan 21 14:59:27 2014 +0000 @@ -67,7 +67,7 @@
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 + * !EnableGameFlags(gfSolidLand, gfArtillery) - sets the !GameFlags (just 2 of them in this example), see above for the available flags * !TurnTime = 60000 - set the turntime in ms * !CaseFreq = 0 - frequency of crate drops * !HealthCaseProb = 35 - chance of receiving a health crate @@ -607,17 +607,17 @@ === !ClearGameFlags() === -
Disables *all* GameFlags +Disables *all* !GameFlags=== !DisableGameFlags(gameflag, ...) === -Disables the listed GameFlags, without changing the status of other GameFlags +Disables the listed !GameFlags, without changing the status of other !GameFlags=== !EnableGameFlags(gameflag, ...) === -Enables the listed GameFlags, without changing the status of other GameFlags +Enables the listed !GameFlags, without changing the status of other !GameFlags=== !GetGameFlag(gameflag) ===