setVehicleRadar: 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: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Sensors |GROUP1= | |gr1= Sensors |GROUP1= | ||
| 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= | | 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 |SYNTAX= | | vehicle '''setVehicleRadar''' rules |SYNTAX= | ||
Line 19: | Line 16: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_vehicle [[setVehicleRadar]] 1;</code> |EXAMPLE1= | |x1= <code>_vehicle [[setVehicleRadar]] 1;</code> |EXAMPLE1= | ||
| [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] |SEEALSO= | | [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] |SEEALSO= |
Revision as of 03:57, 17 January 2021
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:
- Sensors
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