createTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 88150 by killzone_kid on 2015-03-21T11:44:05Z)
m (template:command argument fix)
Line 12: Line 12:
| '''createTeam''' [type, name] |= Syntax
| '''createTeam''' [type, name] |= Syntax


|p1= [type, name]: [[Array]] |= PARAMETER1
|p1= [type, name]: [[Array]] |PARAMETER1=  


|p2= type: [[String]] |= PARAMETER2
|p2= type: [[String]] |PARAMETER2=  


|p3= name: [[String]]|= PARAMETER3
|p3= name: [[String]]|PARAMETER3=  


| [[Team Member]] |= RETURNVALUE
| [[Team Member]] |RETURNVALUE=  




|x1= <code>_team <nowiki>=</nowiki> [[createTeam]] ["USMC_Team", "Fire Team Red"];</code>|= EXAMPLE1
|x1= <code>_team <nowiki>=</nowiki> [[createTeam]] ["USMC_Team", "Fire Team Red"];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[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]] |= SEEALSO
| [[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]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:30, 7 April 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