BIS_fnc_sceneGetParticipants
- Arma 3 v0.50
- First in Arma 2 v1.00
Function · Markdown · JSON · original wiki page
Description
gets members of unit's group who are in unit's range.
Syntax
[unit, maxDistance] call BIS_fnc_sceneGetParticipants
Parameters:
unit: Object - if nil is passed, player is used - nil must then not be used on a dedicated servermaxDistance: Number - if nil is passed, 30 is used.
Returns: Array of units in unit's group within maxDistance from unit
Examples
Example 1
[player, 20] call BIS_fnc_sceneGetParticipants;