findEmptyPosition: Difference between revisions
Jump to navigation
Jump to search
(populated with empty template) |
(populated) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ( | | Search for the position nearest (up to maxDistance) to the center,with,the free area (vehicle of the given type can be placed anywhere) of the,given radius. When not found,empty array is returned. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ''' | | center '''findEmptyPosition''' [radius,maxDistance] or [radius,maxDistance,vehicleType] |= Syntax | ||
|p1= |= PARAMETER1 | |p1= center: [[Array]] - |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= [radius,maxDistance,vehicleType]: Array - |= PARAMETER2 | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
| |= RETURNVALUE | | [[Array]] |= RETURNVALUE | ||
Revision as of 04:06, 4 June 2009
Description
- Description:
- Search for the position nearest (up to maxDistance) to the center,with,the free area (vehicle of the given type can be placed anywhere) of the,given radius. When not found,empty array is returned.
- Groups:
- Uncategorised
Syntax
- Syntax:
- center findEmptyPosition [radius,maxDistance] or [radius,maxDistance,vehicleType]
- Parameters:
- center: Array -
- [radius,maxDistance,vehicleType]: Array -
- Return Value:
- Array
Examples
- Example 1:
(example)
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