createTeam: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Teams | |gr1= Teams | ||
| Create a [[Team|team]] and name it. | | Create a [[Team|team]] and name it. | ||
| '''createTeam''' [type, name] | | '''createTeam''' [type, name] | ||
|p1= [type, name]: [[Array]] | |p1= [type, name]: [[Array]] | ||
|p2= type: [[String]] | |p2= type: [[String]] | ||
|p3= name: [[String]] | |p3= name: [[String]] | ||
| [[Team Member]] | | [[Team Member]] | ||
|x1= <code>_team <nowiki>=</nowiki> [[createTeam]] ["USMC_Team", "Fire Team Red"];</code> | |x1= <code>_team <nowiki>=</nowiki> [[createTeam]] ["USMC_Team", "Fire Team Red"];</code> | ||
| [[addResources]], [[addTeamMember]], [[agent]], [[allVariables]], [[assignedTeam]], [[assignTeam]], [[createTask]], [[currentTasks]], [[deleteResources]], [[deleteTeam]], [[dissolveTeam]], [[forEachMember]], [[forEachMemberAgent]], [[forEachMemberTeam]], [[formation]], [[fromEditor]], [[getVariable]], [[isAgent]], [[leader]], [[members]], [[registeredTasks]], [[registerTask]], [[removeTeamMember]], [[resources]], [[sendTask]], [[setCombatMode]], [[setFormation]], [[setFromEditor]], [[setLeader]], [[setVariable]], [[teamMember]], [[teamMemberNull]], [[teamName]], [[teams]], [[teamType]], [[unassignTeam]], [[unregisterTask]] | | [[addResources]], [[addTeamMember]], [[agent]], [[allVariables]], [[assignedTeam]], [[assignTeam]], [[createTask]], [[currentTasks]], [[deleteResources]], [[deleteTeam]], [[dissolveTeam]], [[forEachMember]], [[forEachMemberAgent]], [[forEachMemberTeam]], [[formation]], [[fromEditor]], [[getVariable]], [[isAgent]], [[leader]], [[members]], [[registeredTasks]], [[registerTask]], [[removeTeamMember]], [[resources]], [[sendTask]], [[setCombatMode]], [[setFormation]], [[setFromEditor]], [[setLeader]], [[setVariable]], [[teamMember]], [[teamMemberNull]], [[teamName]], [[teams]], [[teamType]], [[unassignTeam]], [[unregisterTask]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:13, 18 January 2021
Description
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