LuaAPI.wiki
changeset 858 2a562faa73fb
parent 826 07f7de5b6325
child 859 16f26a7c87d9
equal deleted inserted replaced
857:ca7261b5c679 858:2a562faa73fb
  1045 
  1045 
  1046 ==== <tt>!DismissTeam(teamname)</tt> ====
  1046 ==== <tt>!DismissTeam(teamname)</tt> ====
  1047 Removes the team with the given team name from the game.
  1047 Removes the team with the given team name from the game.
  1048 
  1048 
  1049 ==== <tt>!GetClanColor(clan)</tt> ====
  1049 ==== <tt>!GetClanColor(clan)</tt> ====
  1050 Returns the RGB color of the chosen clan by its number. The color data type is described in [LuaAPI#Color].
  1050 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color].
  1051 
  1051 
  1052 ==== <tt>!SetClanColor(clan, color)</tt> ====
  1052 ==== <tt>!SetClanColor(clan, color)</tt> ====
  1053 Sets the RGB color of the chosen clan by its number. The color data type is described in [LuaAPI#Color].
  1053 Sets the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color].
  1054 
  1054 
  1055 === Campaign management ===
  1055 === Campaign management ===
  1056 ==== <tt>!SaveCampaignVar(varname, value)</tt> ====
  1056 ==== <tt>!SaveCampaignVar(varname, value)</tt> ====
  1057 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]).
  1057 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]).
  1058 
  1058