Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:Returns the team color the unit was assigned to (using the command menu or assignTeam).

Syntax

Syntax:assignedTeam unit
Parameters:
Return Value:String - Team color. Possible values are:
  • MAIN (default and white)
  • RED
  • GREEN
  • BLUE
  • YELLOW

Examples

Examples:
_team = assignedTeam soldier1

Additional Information

See also: assignTeam
Multiplayer: 
Problems: 

Notes