nearTargets

From Bohemia Interactive Community
Revision as of 17:48, 17 May 2007 by Kronzky (talk | contribs) (populated)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.07
Hover & click on the images for description

Description

Description:
Returns a list of targets within the defined range.
Groups:
Uncategorised

Syntax

Syntax:
unit nearTargets range
Parameters:
unit: object
range: Number
Return Value:
Array, consisting of:
position (perceived, includes judgement errors and memory),
type (perceived, gives only what was recognized),
side (again, percieved side),
subjective cost (positive for enemies, more positive for more important or more dangerous enemies),
object (what object, can be used to get more information if needed)

Examples

Example 1:
player nearTargets 100

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