Arma 3 Scripting

Command in Sensors

isVehicleSensorEnabled

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Syntax

vehicle isVehicleSensorEnabled componentName

Parameters:

Returns: Array

Examples

Example 1

vehicle player isVehicleSensorEnabled "PassiveRadarSensorComponent"; // [["PassiveRadarSensorComponent", true]]

See also

listVehicleSensors · enableVehicleSensor