addTeamMember: 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"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|arg= local |Multiplayer Arguments= | |arg= local |Multiplayer Arguments= | ||
Line 9: | Line 9: | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
|gr1= Teams | |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. | <br><br> The same [[Team Member]] can be member of several different [[teams]] at the same time. | ||
| team '''addTeamMember''' member | | team '''addTeamMember''' member | ||
|p1= team: [[Team Member]] | |p1= team: [[Team Member]] | ||
|p2= member: [[Team Member]] | |p2= member: [[Team Member]] | ||
|p3 | |p3= | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_team [[addTeamMember]] _teamMember;</code> | |x1= <code>_team [[addTeamMember]] _teamMember;</code> | ||
| [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[forEachMember]], [[forEachMemberAgent]] | | [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[forEachMember]], [[forEachMemberAgent]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:02, 18 January 2021
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