listVehicleSensors: Difference between revisions
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). |= | | Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components). |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''listVehicleSensors''' vehicle |= | | '''listVehicleSensors''' vehicle |SYNTAX= | ||
|p1= vehicle: [[Object]] |= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
| [[Array]] of [[String]]s |= | | [[Array]] of [[String]]s |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]); | |x1= <code>_sensors = [[listVehicleSensors]] ([[vehicle]] [[player]]); | ||
[[hint]] [[str]] _sensors;</code> |= | [[hint]] [[str]] _sensors;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |= | | [[listRemoteTargets]], [[enableVehicleSensor]], [[isVehicleRadarOn]], [[isVehicleSensorEnabled]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
Description
- Description:
- Returns an array of the sensors in the given vehicle's config (configfile >> CfgVehicles >> vehicle >> Components >> SensorsManagerComponent >> Components).
- Groups:
- Uncategorised
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