Missions: mission vars
authorWuzzy
Wed, 30 Oct 2019 02:33:19 +0000
changeset 2073 f02fee463bf9
parent 2072 72473075540c
child 2074 de9ad743666e
Missions: mission vars
Missions.wiki
--- a/Missions.wiki	Wed Oct 30 02:29:34 2019 +0000
+++ b/Missions.wiki	Wed Oct 30 02:33:19 2019 +0000
@@ -71,4 +71,11 @@
 {{{
 User_Mission_-_Bamboo_Thicket.name=Mission: Bamboo Thicket
 User_Mission_-_Bamboo_Thicket.desc="Death comes from above."
-}}}
\ No newline at end of file
+}}}
+
+== Mission variables ==
+Mission variables are used to store arbitrary values about the mission in the team file. Most commonly, victory and highscores are saved here. Mission variables are set and read with `SaveMissionVariable` and `GetMissionVariable`.
+
+To mark a mission as won, call `SaveMissionVariable("Won", "true"). For challenge missions, you can also use mission variables to store highscores.
+
+For a complete list, see [ConfigurationFiles].
\ No newline at end of file