Difference between revisions of "assignedTeam"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added assignedTeam SQF command)
 
m
Line 14: Line 14:
 
|p1= unitName: [[Object]] |= Parameter 1
 
|p1= unitName: [[Object]] |= Parameter 1
  
| [[String]]: ["m16a4","m16a4","Single","30Rnd_556x45_Stanag",29] |= Return value
+
| [[String]]: "BLUE" |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 19:59, 9 August 2011

Hover & click on the images for description

Description

Description:
Returns the team the unit (the group leader) belongs to.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_team = assignedTeam player;

Additional Information

See also:
See also needed

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