# HG changeset patch
# User Wuzzy
# Date 1563308071 -3600
# Node ID e62b8461ec0166465c91c4a19df07e6586211972
# Parent 3cc17b9eed3f1e9635b0266a497ee6d403f56353
LuaEvents: check if function check works
diff -r 3cc17b9eed3f -r e62b8461ec01 LuaEvents.wiki
--- a/LuaEvents.wiki Mon Jul 15 15:46:50 2019 +0100
+++ b/LuaEvents.wiki Tue Jul 16 21:14:31 2019 +0100
@@ -9,7 +9,7 @@
== Initialization ==
-=== onGameInit() ===
+
This function is called before the game loads its resources. One can read and modify various [LuaGlobals#Game_variables game variables] here. These variables will become globally available after `onGameInit` has been invoked, but changing them has only an effect in `onGameInit`.
Most game variables are optional, but for missions, `Theme` must be set by the scripter if you want to use a random map, rather than an image map. All other variables do not need to be set by the scripter and have default values. For a list of game variables that can be set here, see [LuaGlobals#Game_variables].