BIS fnc nearestHelipad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - " \|p([0-9]{1,2})=([^ ]+) + \| *(\[\[Arr.+) * " to " |p$1=$2 |r1=$3 ") |
||
Line 21: | Line 21: | ||
|p4= types: [[Array]] - (Optional, default ["Heliport"]) Location types to be searched for. See [[nearestLocations]] for more information {{Feature|arma3|Default value won't work in {{arma3}}. Only types listed in CfgLocationTypes are supported}} | |p4= types: [[Array]] - (Optional, default ["Heliport"]) Location types to be searched for. See [[nearestLocations]] for more information {{Feature|arma3|Default value won't work in {{arma3}}. Only types listed in CfgLocationTypes are supported}} | ||
|[[Array]] in format: | |r1=[[Array]] in format: | ||
* 0: [[Position]] - Position of the selected location | * 0: [[Position]] - Position of the selected location | ||
* 1: [[Object]] - Helipad | * 1: [[Object]] - Helipad |
Revision as of 03:46, 13 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:
- Array in format:
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