LuaAPI.wiki
changeset 1711 d2397947f3d7
parent 1708 cf8731763e9f
child 1715 5cac9aadcc27
--- a/LuaAPI.wiki	Tue Jan 29 10:48:22 2019 -0500
+++ b/LuaAPI.wiki	Mon Apr 01 23:23:43 2019 +0100
@@ -1447,7 +1447,9 @@
 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color].
 
 ==== <tt>!SetClanColor(clan, color)</tt> ====
-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 clans.
+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 clans (you can't use this function to change clan memberships of teams).
+
+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`).
 
 === Campaign management ===
 ==== <tt>!SaveCampaignVar(varname, value)</tt> ====