enableVehicleSensor

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:
Enable/disable given sensor

Syntax

Syntax:
vehicle enableVehicleSensor [componentName, state]
Parameters:
vehicle: Object
componentName : String - The component's name (can either be it's "real name" or it's className)
state: Bool - component state [on/off]
Return Value:
Nothing

Examples

Example 1:
vehicle player enableVehicleSensor ["PassiveRadarSensorComponent",false]; // disables passive radar

Additional Information

Multiplayer:
-
See also:
listVehicleSensorsisVehicleSensorEnabled

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