findEmptyPosition

From Bohemia Interactive Community
Revision as of 15:19, 2 April 2010 by Vdmj (talk | contribs)
Jump to navigation Jump to search
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