listVehicleSensors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (missing = to assign return to local variable)
m (template:command argument fix)
Line 6: Line 6:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components). |= Description
| Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components). |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''listVehicleSensors''' vehicle |= Syntax
| '''listVehicleSensors''' vehicle |SYNTAX=


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |PARAMETER1=


| [[Array]] of [[String]]s |= Return value
| [[Array]] of [[String]]s |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]);
|x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]);
[[hint]] [[str]] _sensors;</code> |= Example 1
[[hint]] [[str]] _sensors;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |= See also
| [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |SEEALSO=


}}
}}

Revision as of 14:42, 7 April 2019


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