LuaGuide: campaign fix
authorWuzzy
Thu, 09 Jun 2016 14:12:55 +0100
changeset 896 ff2bb096e079
parent 895 9db173fcf26e
child 897 c3ce54152c05
LuaGuide: campaign fix
LuaGuide.wiki
--- a/LuaGuide.wiki	Thu Jun 09 14:10:59 2016 +0100
+++ b/LuaGuide.wiki	Thu Jun 09 14:12:55 2016 +0100
@@ -11,15 +11,14 @@
 
 == The basic structure ==
 
-Dependent on what type of script you want to write the requirements are a bit different, but before we go into that we must first create the `.lua` file.
-
-If you want to make a mission for multi player you create a map and create a new file `map.lua` in the map's folder.
+Dependent on what type of script you want to write the requirements are a bit different, but before we go into that we must first create the `.lua` file. The location of the file depends on the script type.
 
-If you want to make a training mission then you create a new `.lua` file under `Data/Missions/Training` folder. Campaign missions go into `Data/Missions/Training`.
+* If you want to make a mission for multi player you create a map and create a new file `map.lua` in the map's folder.
+* If you want to make a training mission then you create a new `.lua` file under `Data/Missions/Training` folder.
+* Campaign missions go into `Data/Missions/Campaign/<CAMPAIGN NAME>`.
+* If you want to make a custom game style like Highlander, create a new `.lua` file in `Data/Scripts/Multiplayer`.
 
-If you want to make a custom game style like Highlander, create a new `.lua` file in `Data/Scripts/Multiplayer`.
-
-To get started, the `.lua` file should be structured like this:
+To get started, a `.lua` file should generally be structured like this:
 {{{
 function onGameInit()
 end