{"name":"BIS_fnc_sceneGetParticipants","operator":null,"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","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"gets members of unit's group who are in unit's range.","syntaxes":[{"syntax":"[unit, maxDistance] call BIS_fnc_sceneGetParticipants","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":"if nil is passed, player is used - nil must then **not** be used on a dedicated server","types":["Object"],"since":null,"text":"unit: Object - if nil is passed, player is used - nil must then **not** be used on a dedicated server"},{"name":"maxDistance","type":"Number","optional":false,"default":null,"description":"if nil is passed, 30 is used.","types":["Number"],"since":null,"text":"maxDistance: Number - if nil is passed, 30 is used."}],"returns":{"type":"Array of units in unit's group within maxDistance from unit","types":["Array"],"description":null,"text":"Array of units in *unit*'s group within *maxDistance* from *unit*"}}],"examples":[{"text":"```sqf\n[player, 20] call BIS_fnc_sceneGetParticipants;\n```","code":["[player, 20] call BIS_fnc_sceneGetParticipants;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Scenes","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}