listVehicleSensors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (missing = to assign return to local variable)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_sensors [[listVehicleSensors]] ([[vehicle]] [[player]]);
|x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]);
[[hint]] [[str]] _sensors;</code> |= Example 1
[[hint]] [[str]] _sensors;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 13:27, 4 September 2017


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:
Uncategorised

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:
listRemoteTargetsenableVehicleSensorisVehicleRadarOnisVehicleSensorEnabled

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

Notes

Bottom Section