BIS fnc sceneGetParticipants: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 23: | Line 23: | ||
|p2= maxDistance: [[Number]] - if [[nil]] is passed, 30 is used. | |p2= maxDistance: [[Number]] - if [[nil]] is passed, 30 is used. | ||
| [[Array]] of units in ''unit'''s group within ''maxDistance'' from ''unit'' | |r1=[[Array]] of units in ''unit'''s group within ''maxDistance'' from ''unit'' | ||
|x1= <code><nowiki>[</nowiki>[[player]], 20] [[call]] [[BIS_fnc_sceneGetParticipants]];</code> | |x1= <code><nowiki>[</nowiki>[[player]], 20] [[call]] [[BIS_fnc_sceneGetParticipants]];</code> |
Revision as of 20:34, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Scenes
Syntax
- Syntax:
- Syntax needed
- 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