selectBestPlaces: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 34: Line 34:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
see http://forums.bistudio.com/showthread.php?t=93897 for some more information (though neither official, nor guaranteed to be correct)
<dd class="notedate"></dd>
<dt class="note">'''[[User:Rübe|Rübe]]'''</dt>
<dd class="note">see http://forums.bistudio.com/showthread.php?t=93897 for some more information (though neither official, nor guaranteed to be correct)</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 19:13, 17 July 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

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

Bottom Section