Difference between revisions of "WML for Complete Beginners"

From The Battle for Wesnoth Wiki
(Move notes to bottom)
(Format the index nicely as a table)
Line 5: Line 5:
 
==Main Index==
 
==Main Index==
  
[[WML_for_Complete_Beginners:_Introduction]]
+
<onlyinclude>
 
+
{| class="wikitable"
[[WML_for_Complete_Beginners:_Chapter_1]] Syntax
+
|-
 
+
|[[WML_for_Complete_Beginners:_Introduction|Introduction]]
[[WML_for_Complete_Beginners:_Chapter_2]] The Userdata Directory and the Campaign Folder
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_1|1 - Syntax]]
[[WML_for_Complete_Beginners:_Chapter_3]] The _main.cfg
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_2|2 - The Userdata Directory and the Campaign Folder]]
[[WML_for_Complete_Beginners:_Chapter_4]] Creating Your First Scenario
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_3|3 - The _main.cfg]]
[[WML_for_Complete_Beginners:_Chapter_5]] Events
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_4|4 - Creating Your First Scenario]]
[[WML_for_Complete_Beginners:_Chapter_6]] Custom Units
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_5|5 - Events]]
[[WML_for_Complete_Beginners:_Chapter_7]] Variables Introduction
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_6|6 - Custom Units]]
[[WML_for_Complete_Beginners:_Chapter_8]] Non-scalar Variables
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_7|7 - Variables Introduction]]
[[WML_for_Complete_Beginners:_Chapter_9]] Macros
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_8|8 - Non-scalar Variables]]
[[WML_for_Complete_Beginners:_Chapter_10]] Logic
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_9|9 - Macros]]
[[WML_for_Complete_Beginners:_Chapter_11]] More Logic
+
|-
 
+
|[[WML_for_Complete_Beginners:_Chapter_10|10 - Logic]]
[[WML_for_Complete_Beginners:_Conclusion]]
+
|-
 +
|[[WML_for_Complete_Beginners:_Chapter_11|11 - More Logic]]
 +
|-
 +
|[[WML_for_Complete_Beginners:_Conclusion|Conclusion]]
 +
|}
 +
</onlyinclude>
  
 
==Note for Improvements:==
 
==Note for Improvements:==

Revision as of 18:38, 29 January 2023


Welcome to the WML Guide for Complete Beginners! From here, you can get started directly by heading to the Introduction or you can continue from the chapter you left off.

Main Index

Introduction
1 - Syntax
2 - The Userdata Directory and the Campaign Folder
3 - The _main.cfg
4 - Creating Your First Scenario
5 - Events
6 - Custom Units
7 - Variables Introduction
8 - Non-scalar Variables
9 - Macros
10 - Logic
11 - More Logic
Conclusion


Note for Improvements:

1. Add to the numbers definition that numbers can include decimal point values (and reference the fact that WML will remove any unnecessary 0's when it performs the calculations or accesses the numerical value in question).

2. Finish chapters 6-11 (Partially Complete)