addTeamMember: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|arg= local |Multiplayer Arguments=
|arg= local |Multiplayer Arguments=
Line 9: Line 9:
|eff= local |Multiplayer Effects=
|eff= local |Multiplayer Effects=


|gr1= Teams |GROUP1=
|gr1= Teams


| Add given member to given team. Effect is local, unless both member and team are local to PC on which command is executed, then effect is global.
| Add given member to given team. Effect is local, unless both member and team are local to PC on which command is executed, then effect is global.


<br><br> The same [[Team Member]] can be member of several different [[teams]] at the same time.|DESCRIPTION=
<br><br> The same [[Team Member]] can be member of several different [[teams]] at the same time.


| team '''addTeamMember''' member |SYNTAX=
| team '''addTeamMember''' member


|p1= team: [[Team Member]] |PARAMETER1=
|p1= team: [[Team Member]]


|p2= member: [[Team Member]] |PARAMETER2=
|p2= member: [[Team Member]]


|p3= |PARAMETER3=  
|p3=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>_team [[addTeamMember]] _teamMember;</code>|EXAMPLE1=
|x1= <code>_team [[addTeamMember]] _teamMember;</code>




| [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[forEachMember]], [[forEachMemberAgent]] |SEEALSO=
| [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[forEachMember]], [[forEachMemberAgent]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 00:02, 18 January 2021

Hover & click on the images for description

Description

Description:
Add given member to given team. Effect is local, unless both member and team are local to PC on which command is executed, then effect is global.

The same Team Member can be member of several different teams at the same time.
Groups:
Teams

Syntax

Syntax:
team addTeamMember member
Parameters:
team: Team Member
member: Team Member
Return Value:
Nothing

Examples

Example 1:
_team addTeamMember _teamMember;

Additional Information

See also:
createTeamdeleteTeamforEachMemberTeamremoveTeamMemberteamMemberteamNameteamsteamTypeforEachMemberforEachMemberAgent

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