LuaGameplay.wiki
changeset 1777 e17942b0a485
parent 1776 16cb66ab3488
child 1778 4d4a119f1340
equal deleted inserted replaced
1776:16cb66ab3488 1777:e17942b0a485
   418 
   418 
   419 There's a special case: If the AI Survival game modifier is active, the AI kill counter will be replaced by the custom team label if it has been set. If `label` is set to `nil`, the default AI counter is shown again.
   419 There's a special case: If the AI Survival game modifier is active, the AI kill counter will be replaced by the custom team label if it has been set. If `label` is set to `nil`, the default AI counter is shown again.
   420 
   420 
   421 Use this to display a score, power value or another important team attribute. There's no hard length limit, but please try to keep it as short as possible to avoid visual clutter.
   421 Use this to display a score, power value or another important team attribute. There's no hard length limit, but please try to keep it as short as possible to avoid visual clutter.
   422 
   422 
   423 == <tt>SetTeamPassive(teamname, isPassive)</tt> (1.0.0) ==
   423 === <tt>SetTeamPassive(teamname, isPassive)</tt> (1.0.0) ===
   424 Mark a team as passive if `isPassive` is `true`. Passive teams do not participate in the game and are treated like frozen teams. When determining the team order, passive teams are completely ignored.
   424 Mark a team as passive if `isPassive` is `true`. Passive teams do not participate in the game and are treated like frozen teams. When determining the team order, passive teams are completely ignored.
   425 
   425 
   426 === <tt>!GetClanColor(clan)</tt> ===
   426 === <tt>!GetClanColor(clan)</tt> ===
   427 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaOverview#Color].
   427 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaOverview#Color].
   428 
   428