selectBestPlaces: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (array syntax)
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)
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 01:55, 17 January 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:
See also needed

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