selectBestPlaces: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (array syntax)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Find the places with the max. value of _expression in the given area. |= Description
| Find the places with the max. value of _expression in the given area. Places can be on water. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 18: Line 18:
|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


| [[Array]] |= RETURNVALUE  
| [[Array]] - Format is <nowiki>[[position: </nowiki>[[Position2D]]<nowiki>, expressionResult: </nowiki>[[Number]]<nowiki>], ...]</nowiki> |= RETURNVALUE  





Revision as of 05:20, 24 October 2009

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

Bottom Section