findEmptyPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
No edit summary
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[selectBestPlaces]], [[isFlatEmpty]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 16:19, 2 April 2010

Hover & click on the images for description

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:
selectBestPlacesisFlatEmpty

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

Notes

Bottom Section