BIS fnc sceneGetParticipants: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
|r1= [[Array]] of units in ''unit'''s group within ''maxDistance'' from ''unit'' | |r1= [[Array]] of units in ''unit'''s group within ''maxDistance'' from ''unit'' | ||
|x1= < | |x1= <sqf>[player, 20] call BIS_fnc_sceneGetParticipants;</sqf> | ||
|seealso= | |seealso= | ||
}} | }} |
Latest revision as of 17:00, 13 July 2022
Description
Syntax
- 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 server
- maxDistance: Number - if nil is passed, 30 is used.
- Return Value:
- Array of units in unit's group within maxDistance from unit
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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