BIS fnc nearestHelipad: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| tkoh |Game name= | | tkoh |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Map and Markers |GROUP1= | |gr1 = Map and Markers |GROUP1= | ||
| Finds the nearest helipad of given type. |DESCRIPTION= | | Finds the nearest helipad of given type. |DESCRIPTION= | ||
| [position, radius, random, types] [[call]] [[BIS_fnc_nearestHelipad]] |SYNTAX= | | [position, radius, random, types] [[call]] [[BIS_fnc_nearestHelipad]] |SYNTAX= | ||
Line 26: | Line 23: | ||
* 1: [[Object]] - Helipad | * 1: [[Object]] - Helipad | ||
* 2: [[Position]] - Position of the helipad |RETURNVALUE= | * 2: [[Position]] - Position of the helipad |RETURNVALUE= | ||
|x1= <code></code> |EXAMPLE1= | |x1= <code></code> |EXAMPLE1= | ||
| |SEEALSO= | | |SEEALSO= |
Revision as of 23:29, 16 January 2021
Description
- Description:
- Finds the nearest helipad of given type.
- 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