BIS fnc nearestHelipad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
||
Line 11: | Line 11: | ||
| Finds the nearest helipad of given type. | | Finds the nearest helipad of given type. | ||
| [position, radius, random, types] [[call]] [[BIS_fnc_nearestHelipad]] | |s1= [position, radius, random, types] [[call]] [[BIS_fnc_nearestHelipad]] | ||
|p1= position: [[Position]] - (Optional, default [[position]] [[vehicle]] [[player]]) Center position | |p1= position: [[Position]] - (Optional, default [[position]] [[vehicle]] [[player]]) Center position |
Revision as of 22:45, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- [position, radius, random, types] call BIS_fnc_nearestHelipad
- Parameters:
- position: Position - (Optional, default position vehicle player) Center position
- radius: Number - (Optional, default 999999) Radius of the area to search in meters
- random: Boolean - (Optional, default false) If true a random helipad will be selected if multiple are found
- types: Array - (Optional, default ["Heliport"]) Location types to be searched for. See nearestLocations for more information
- Return Value:
- Return value needed
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