Arma 3 Scripting

Command in Program Flow

forEachMemberAgent

Also available as Markdown and JSON, or read the original wiki page.

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.

Syntax

command forEachMemberAgent team

Parameters:

Returns: Nothing

See also

agent · agents · createAgent · isAgent · addTeamMember · createTeam · deleteTeam · forEachMemberTeam · removeTeamMember · teamMember · teamName · teams · teamType · forEachMember