equal
deleted
inserted
replaced
1445 |
1445 |
1446 ==== <tt>!GetClanColor(clan)</tt> ==== |
1446 ==== <tt>!GetClanColor(clan)</tt> ==== |
1447 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color]. |
1447 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color]. |
1448 |
1448 |
1449 ==== <tt>!SetClanColor(clan, color)</tt> ==== |
1449 ==== <tt>!SetClanColor(clan, color)</tt> ==== |
1450 Sets the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color]. The new clan color *must* be different from the color of all other clans, otherwise things will break. |
1450 *Warning*: This function seems to be very broken at the moment, expect crashes. |
|
1451 |
|
1452 Sets the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color]. The new clan color *must* be different from the color of all other clans. |
1451 |
1453 |
1452 === Campaign management === |
1454 === Campaign management === |
1453 ==== <tt>!SaveCampaignVar(varname, value)</tt> ==== |
1455 ==== <tt>!SaveCampaignVar(varname, value)</tt> ==== |
1454 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]). |
1456 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]). |
1455 |
1457 |