diff -r b362aae4143f -r 9895045e9963 LuaAPI.wiki --- a/LuaAPI.wiki Thu Jul 30 22:51:31 2015 +0000 +++ b/LuaAPI.wiki Thu Jul 30 22:57:26 2015 +0000 @@ -927,8 +927,10 @@ ==== !SaveCampaignVar(varname, value) ==== Stores the value `value` (a string) into the campaign variable `varname` (also a string). Campaign variables allow you to save progress of a team in a certain campaign. Campaign variables are saved on a per-team per-campaign basis. They are written into the team file (see [ConfigurationFiles#TeamName.hwt]). +There are some special campaign variables which are used by Hedgewars to determine which missions to display in the campaign menu. This is described [ConfigurationFiles#%5BCampaign%20%3CCAMPAIGN_NAME%3E%5D here]. + ==== !GetCampaignVar(varname) ==== -Returns the value of the campaign variable `varname` as a string. +Returns the value of the campaign variable `varname` as a string. See also `SaveCampaignVar`. == Functions affecting the GUI ==