forEachMemberAgent: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| command '''forEachMemberAgent''' team |= Syntax | | command '''forEachMemberAgent''' team |= Syntax | ||
|p1= command: [[Code]] |= | |p1= command: [[Code]] |PARAMETER1= | ||
|p2= team: [[Team Member]] |= | |p2= team: [[Team Member]] |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>(example)</code>|= | |x1= <code>(example)</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[agent]], [[agents]], [[createAgent]], [[isAgent]], [[addTeamMember]], [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[forEachMember]] |= | | [[agent]], [[agents]], [[createAgent]], [[isAgent]], [[addTeamMember]], [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[forEachMember]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:31, 7 April 2019
Description
- Description:
- Executes the given command recursively for each agent that is a member of the given team. For just teams use forEachMemberTeam. For both teams and agents use forEachMember.
- Groups:
- Uncategorised
Syntax
- Syntax:
- command forEachMemberAgent team
- Parameters:
- command: Code
- team: Team Member
- Return Value:
- Nothing
Examples
- Example 1:
(example)
Additional Information
- See also:
- agentagentscreateAgentisAgentaddTeamMembercreateTeamdeleteTeamforEachMemberTeamremoveTeamMemberteamMemberteamNameteamsteamTypeforEachMember
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