{"name":"BIS_fnc_sceneGetParticipants","title":"BIS fnc sceneGetParticipants","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_sceneGetParticipants","revid":328385,"updated":"2022-07-13T16:00:48Z","groups":["Scenes"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"gets members of unit's group who are in unit's range.","syntaxes":[{"syntax":"[unit, maxDistance] call BIS_fnc_sceneGetParticipants","params":[{"name":"unit","type":"Object","description":"if nil is passed, player is used - nil must then **not** be used on a dedicated server","type_expr":"Object"},{"name":"maxDistance","type":"Number","description":"if nil is passed, 30 is used.","type_expr":"Number"}],"returns":{"type":"Array of units in unit's group within maxDistance from unit","type_expr":"Array","text":"Array of units in *unit'*s group within *maxDistance* from *unit*"}}],"examples":[{"code":["[player, 20] call BIS_fnc_sceneGetParticipants;"]}]}