setVehicleRadar: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.70 | |1.70 | ||
|gr1= Sensors | |gr1= Sensors | ||
| 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. | ||
| vehicle '''setVehicleRadar''' rules | | vehicle '''setVehicleRadar''' rules | ||
|p1= vehicle: [[Object]] - an AI-controlled vehicle | |p1= vehicle: [[Object]] - an AI-controlled vehicle | ||
|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 | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_vehicle [[setVehicleRadar]] 1;</code> | |x1= <code>_vehicle [[setVehicleRadar]] 1;</code> | ||
| [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] | | [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] | ||
}} | }} |
Revision as of 11:10, 18 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