GameStyles: Pointless!
authorWuzzy
Sat, 12 Oct 2019 16:27:19 +0100
changeset 2030 1c0077fa2f65
parent 2029 41a66f3490e1
child 2031 6ac51d7a29c9
GameStyles: Pointless!
GameStyles.wiki
--- a/GameStyles.wiki	Sat Oct 12 16:22:24 2019 +0100
+++ b/GameStyles.wiki	Sat Oct 12 16:27:19 2019 +0100
@@ -18,15 +18,16 @@
 == How it works ==
 In the multiplayer menu, the player will select a style in the drop-down menu.
 
-When the game is started, Hedgewas will initialize the script with all the player-chosen settings and also automatically places all hedgehogs and possibly some land objects (specified in the game scheme), just like in a normal game. Because the hogs are already placed, `AddHog` and `AddTeam` are pointless here.
+When the game is started, Hedgewas will initialize the script with all the player-chosen settings and also automatically places all hedgehogs and possibly some land objects (specified in the game scheme), just like in a normal game.
 
 With an empty script, this game will behave exactly like a normal, unscripted game, with the same rules as a normal battle. Any code you write in the script will make Hedgewars deviate from the default gameplay.
 
-The documentation of [LuaAPI Lua API] applies. Some things we like to highlight:
+The documentation of [LuaAPI Lua API] applies. Some special notes for styes:
 
-In `onGameInit`, you can read the scheme settings and also change them. You can overwrite pretty much all scheme settings here.
-
-In `onParameters`, you can parse the script parameter (which is also specified by the player in the game scheme).
+ * In `onGameInit`, you can read the scheme settings and also change them. You can overwrite pretty much all scheme settings here.
+ * In `onParameters`, you can parse the script parameter (which is also specified by the player in the game scheme).
+ * The functions `AddHog`, `AddMissionHog, `AddTeam` and `AddMissionTeam` are pointless here. Teams are chosen by the players, hogs are placed by the engine
+ * Campaign variables and mission variables are pointless here.
 
 == Config file format ==