setVehicleRadar: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets the AI rules of Radar usage (Emission Control). Automatic means Radar switched on only when in Combat. The command doesn't affect player-controlled vehicles. |= | | Sets the AI rules of Radar usage (Emission Control). Automatic means Radar switched on only when in Combat. The command doesn't affect player-controlled vehicles. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle '''setVehicleRadar''' rules |= | | vehicle '''setVehicleRadar''' rules |SYNTAX= | ||
|p1= vehicle: [[Object]] - an AI-controlled vehicle |= | |p1= vehicle: [[Object]] - an AI-controlled vehicle |PARAMETER1= | ||
|p2= rules: [[Number]] - a flag, 0 - automatic, 1 - forced on, 2 - forced off |= | |p2= rules: [[Number]] - a flag, 0 - automatic, 1 - forced on, 2 - forced off |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_vehicle [[setVehicleRadar]] 1;</code> |= | |x1= <code>_vehicle [[setVehicleRadar]] 1;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] |= | | [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] |SEEALSO= | ||
}} | }} |
Revision as of 14:48, 7 April 2019
Description
- Description:
- Sets the AI rules of Radar usage (Emission Control). Automatic means Radar switched on only when in Combat. The command doesn't affect player-controlled vehicles.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle setVehicleRadar rules
- Parameters:
- vehicle: Object - an AI-controlled vehicle
- rules: Number - a flag, 0 - automatic, 1 - forced on, 2 - forced off
- Return Value:
- Nothing
Examples
- Example 1:
_vehicle setVehicleRadar 1;
Additional Information
- See also:
- vehicleReportRemoteTargetssetVehicleReportRemoteTargetsvehicleReceiveRemoteTargetssetVehicleReceiveRemoteTargetsvehicleReportOwnPositionsetVehicleReportOwnPositionreportRemoteTargetconfirmSensorTarget
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