createTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "|= Game name" to "|Game name=")
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2 |= Game name
| arma2 |Game name=


|1.00|= Game version
|1.00|= Game version

Revision as of 02:39, 31 August 2019

Hover & click on the images for description

Description

Description:
Create a team and name it.
Groups:
Uncategorised

Syntax

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

Examples

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

Additional Information

See also:
addResourcesaddTeamMemberagentallVariablesassignedTeamassignTeamcreateTaskcurrentTasksdeleteResourcesdeleteTeamdissolveTeamforEachMemberforEachMemberAgentforEachMemberTeamformationfromEditorgetVariableisAgentleadermembersregisteredTasksregisterTaskremoveTeamMemberresourcessendTasksetCombatModesetFormationsetFromEditorsetLeadersetVariableteamMemberteamMemberNullteamNameteamsteamTypeunassignTeamunregisterTask

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