createTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - "\|s1= +" to "|s1= ")
Line 17: Line 17:
|descr= Creates a [[Team|team]] and names it.
|descr= Creates a [[Team|team]] and names it.


|s1= [[createTeam]]  [type, name]
|s1= [[createTeam]]  [type, name]


|p1= type: [[String]]
|p1= type: [[String]]

Revision as of 15:38, 19 June 2021

Hover & click on the images for description

Description

Description:
Creates a team and names it.
Groups:
Teams

Syntax

Syntax:
createTeam [type, name]
Parameters:
type: String
name: String
Return Value:
Team Member

Examples

Example 1:
_team = createTeam ["USMC_Team", "Fire Team Red"];

Additional Information

See also:
addTeamMember removeTeamMember

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