listVehicleSensors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{DISPLAYTITLE:listVehicleSensors}}
{{DISPLAYTITLE:listVehicleSensors}}
{{Command|Comments=
{{Command
| arma3 |= Game name
| arma3 |= Game name
| 1.72 |Game Version=
| 1.72


|gr1= Sensors |GROUP1=
|gr1= Sensors


| 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).


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


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


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


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


}}
}}

Revision as of 02:05, 18 January 2021


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