listVehicleSensors: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 16: | Line 16: | ||
[[hint]] [[str]] _sensors;</code> | [[hint]] [[str]] _sensors;</code> | ||
|seealso= [[listRemoteTargets]] [[enableVehicleSensor]] | |seealso= [[listRemoteTargets]] [[enableVehicleSensor]] [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] | ||
}} | }} |
Revision as of 16:41, 20 January 2022
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
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