assignedTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (removed empty space at end of description)
Line 45: Line 45:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Revision as of 12:44, 25 March 2013

Hover & click on the images for description

Description

Description:
Returns the team the unit belongs to. Possible values:
  • MAIN (default and white)
  • RED
  • GREEN
  • BLUE
  • YELLOW
Groups:
Uncategorised

Syntax

Syntax:
assignedTeam unitName
Parameters:
unitName: Object
Return Value:
String: "BLUE"

Examples

Example 1:
_team = assignedTeam player;

Additional Information

See also:
assignTeam

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section