setVehicleRadar: Difference between revisions

From Bohemia Interactive Community
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. |= 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=


|p1= vehicle: [[Object]] - an AI-controlled vehicle |= Parameter 1
|p1= vehicle: [[Object]] - an AI-controlled vehicle |PARAMETER1=


|p2= rules: [[Number]] - a flag, 0 - automatic, 1 - forced on, 2 - forced off |= Parameter 2
|p2= rules: [[Number]] - a flag, 0 - automatic, 1 - forced on, 2 - forced off |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_vehicle [[setVehicleRadar]] 1;</code> |= Example 1
|x1= <code>_vehicle [[setVehicleRadar]] 1;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] |= See also
| [[vehicleReportRemoteTargets]], [[setVehicleReportRemoteTargets]], [[vehicleReceiveRemoteTargets]], [[setVehicleReceiveRemoteTargets]], [[vehicleReportOwnPosition]], [[setVehicleReportOwnPosition]], [[reportRemoteTarget]], [[confirmSensorTarget]] |SEEALSO=


}}
}}

Revision as of 14:48, 7 April 2019

Hover & click on the images for description

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

Notes

Bottom Section