createTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "|= Comments" to "|Comments=")
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 02:45, 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