getSensorThreats

From Bohemia Interactive Community
Revision as of 13:40, 6 June 2021 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

Description:
Returns vehicle sensors' threats.
Groups:
Sensors

Syntax

Syntax:
getSensorThreats vehicle
Parameters:
vehicle: Object - the sensors-equipped vehicle
Return Value:
Array of Arrays - format [object, type, sensor]:
  • object: Object
  • type: String, can be one of:
    • "missile"
    • "marked"
    • "locked"
  • sensor: String, can be one of:
    • "ir"
    • "nv"
    • "laser"
    • "activeradar"
    • "passiveradar"
    • "man"
    • "visual"
    • "datalink"

Examples

Example 1:
private _dangers = getSensorThreats vehicle player;

Additional Information

See also:
getSensorTargets listVehicleSensors listRemoteTargets

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