findEmptyPositionReady: 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 - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
||
Line 33: | Line 33: | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
{{GameCategory|tkoh|Scripting Commands}} | {{GameCategory|tkoh|Scripting Commands}} |
Revision as of 02:33, 13 June 2021
Description
- Description:
- Description needed
- Groups:
- Positions
Syntax
- Syntax:
- center findEmptyPositionReady [radius, maxDistance]
- Parameters:
- center: Array - Search area center position in format [x,y] or [x,y,z] in which case z is ignored. Accepts Position2D or Position3D
- [radius, maxDistance]: Array -
- radius: Number - distance from the center
- maxDistance: Number - distance from the end of radius
- Return Value:
- Boolean - true when ready
Examples
- Example 1:
- Preload aread within 500m:
_ready = _center findEmptyPositionReady [0, 500];
Additional Information
- See also:
- findEmptyPosition
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