setVehicleRadar: Difference between revisions
Jump to navigation
Jump to search
Ondrejkuzel (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.70|= Game version ______________...") |
Ondrejkuzel (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
| vehicle '''setVehicleRadar''' rules |= Syntax | | vehicle '''setVehicleRadar''' rules |= Syntax | ||
|p1= vehicle: [[Object]] - AI-controlled vehicle |= Parameter 1 | |p1= vehicle: [[Object]] - an AI-controlled vehicle |= Parameter 1 | ||
|p2= rules: [[Number]] - | |p2= rules: [[Number]] - a flag, 0 - automatic, 1 - forced on, 2 - forced off |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| <code>BIS_Tank [[setVehicleRadar]] 1;</code> |= Example 1 | |x1= <code> BIS_Tank [[setVehicleRadar]] 1;</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 12:10, 13 February 2017
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:
BIS_Tank setVehicleRadar 1;
Additional Information
- See also:
- vehicleReportRemoteTargetssetVehicleReportRemoteTargetsvehicleReceiveRemoteTargetssetVehicleReceiveRemoteTargetsvehicleReportOwnPositionsetVehicleReportOwnPosition
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
[[Category:Introduced with arma3dev version 1.70]][[ Category: arma3dev: New Scripting Commands | SETVEHICLERADAR]][[ Category: arma3dev: Scripting Commands | SETVEHICLERADAR]]