selectBestPlaces: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= SEEALSO  
| [[findEmptyPosition]], [[isFlatEmpty]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 16:19, 2 April 2010

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