selectBestPlaces

From Bohemia Interactive Community
Revision as of 16:19, 2 April 2010 by Vdmj (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Find the places with the max. value of _expression in the given area. Places can be on water.
Groups:
Uncategorised

Syntax

Syntax:
selectBestPlaces [_position,_radius,_expression,_precision,_sourcesCount]
Parameters:
[_position,_radius,_expression,_precision,_sourcesCount]: Array -
Return Value:
Array - Format is [[position: Position2D, expressionResult: Number], ...]

Examples

Example 1:
(example)

Additional Information

See also:
findEmptyPositionisFlatEmpty

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

see http://forums.bistudio.com/showthread.php?t=93897 for some more information (though neither official, nor guaranteed to be correct)

Bottom Section