isVehicleSensorEnabled

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.72
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.72

Description

Description:
Returns class name (to identify list based on component name) and info if given sensor is enabled

Syntax

Syntax:
vehicle isVehicleSensorEnabled componentName
Parameters:
vehicle: Object
componentName : String - The component's name (can either be it's "real name" or it's className)
Return Value:
Array

Examples

Example 1:
vehicle player isVehicleSensorEnabled "PassiveRadarSensorComponent"; // [ ["PassiveRadarSensorComponent",true] ]

Additional Information

Multiplayer:
-
See also:
listVehicleSensorsenableVehicleSensor

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section