listVehicleSensors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 16: Line 16:
[[hint]] [[str]] _sensors;</code>
[[hint]] [[str]] _sensors;</code>


|seealso= [[listRemoteTargets]] [[enableVehicleSensor]] [[isVehicleRadarOn]], [[isVehicleSensorEnabled]]
|seealso= [[listRemoteTargets]] [[enableVehicleSensor]] [[isVehicleRadarOn]] [[isVehicleSensorEnabled]]
}}
}}

Revision as of 16:44, 20 January 2022

Hover & click on the images for description

Description

Description:
Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components).
Groups:
Sensors

Syntax

Syntax:
listVehicleSensors vehicle
Parameters:
vehicle: Object
Return Value:
Array of Strings

Examples

Example 1:
_sensors = listVehicleSensors (vehicle player); hint str _sensors;

Additional Information

See also:
listRemoteTargets enableVehicleSensor isVehicleRadarOn isVehicleSensorEnabled

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