listVehicleSensors: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:listVehicleSensors}} | {{DISPLAYTITLE:listVehicleSensors}} | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |= Game name | | arma3 |= Game name | ||
| 1.72 |Game Version= | | 1.72 |Game Version= | ||
|gr1= Sensors |GROUP1= | |gr1= Sensors |GROUP1= | ||
| 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= | ||
Line 16: | Line 13: | ||
| [[Array]] of [[String]]s |RETURNVALUE= | | [[Array]] of [[String]]s |RETURNVALUE= | ||
|x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]); | |x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]); | ||
[[hint]] [[str]] _sensors;</code> |EXAMPLE1= | [[hint]] [[str]] _sensors;</code> |EXAMPLE1= | ||
| [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |SEEALSO= | | [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |SEEALSO= |
Revision as of 01:59, 17 January 2021
Description
- Description:
- Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components).
- Groups:
- Sensors
Syntax
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