# HG changeset patch # User Wuzzy # Date 1572402799 0 # Node ID f02fee463bf9f477c184541da4f0807f3cdc6db4 # Parent 72473075540cb329184613401bc79b197eea388f Missions: mission vars diff -r 72473075540c -r f02fee463bf9 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