equal
deleted
inserted
replaced
448 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaOverview#Color]. |
448 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaOverview#Color]. |
449 |
449 |
450 === <tt>!SetClanColor(clan, color)</tt> === |
450 === <tt>!SetClanColor(clan, color)</tt> === |
451 Sets the RGBA color of the chosen clan by its number. The color argument works the same as in `AddTeam`. The new clan color *must* be different from the color of all clans (you can't use this function to change clan memberships of teams). |
451 Sets the RGBA color of the chosen clan by its number. The color argument works the same as in `AddTeam`. The new clan color *must* be different from the color of all clans (you can't use this function to change clan memberships of teams). |
452 |
452 |
453 Note: The stats graph does not support changing clan colors. If the clan colors change in mid-game, the graph might get confused and shows weird stuff. You may want to turn off the graph with if this is the case (see `SendHealthStatsOff`). |
453 Note: The stats graph does not support clan colors that change in mid-game. If the clan colors change in mid-game, the graph might get confused and shows weird stuff. You may want to turn off the graph with if this is the case (see `SendHealthStatsOff`). |
454 |
454 |
455 == Campaign management == |
455 == Campaign management == |
456 === <tt>!SaveCampaignVar(varname, value)</tt> === |
456 === <tt>!SaveCampaignVar(varname, value)</tt> === |
457 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]). |
457 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]). |
458 |
458 |