BIS fnc sceneGetParticipants: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Scenes |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Scenes(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 36: | Line 36: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:sceneGetParticipants}}]] | [[Category:Functions|{{uc:sceneGetParticipants}}]] | ||
[[Category:{{Name|arma2}}: Functions|{{uc:sceneGetParticipants}}]] | [[Category:{{Name|arma2}}: Functions|{{uc:sceneGetParticipants}}]] |
Revision as of 14:08, 12 October 2020
Description
Syntax
- Syntax:
- [unit, maxDistance] call BIS_fnc_sceneGetParticipants
- Parameters:
- unit: Object - if nil is passed, player is used. Warning: 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:
[player, 20] call BIS_fnc_sceneGetParticipants;
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