listVehicleSensors: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 |= Game name | | arma3 |= Game name | ||
| 1.72 | | 1.72 | ||
|gr1= Sensors | |gr1= Sensors | ||
| Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components). | | Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components). | ||
| '''listVehicleSensors''' vehicle | | '''listVehicleSensors''' vehicle | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
| [[Array]] of [[String]]s | | [[Array]] of [[String]]s | ||
|x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]); | |x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]); | ||
[[hint]] [[str]] _sensors;</code> | [[hint]] [[str]] _sensors;</code> | ||
| [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] | | [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] | ||
}} | }} |
Revision as of 01:05, 18 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