isVehicleRadarOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Returns true if vehicle has active sensors on.
|descr= Returns true if vehicle has active sensors on.


|s1= [[isVehicleRadarOn]] vehicle
|s1= [[isVehicleRadarOn]] vehicle


|p1= vehicle: [[Object]] - vehicle on which check is performed
|p1= vehicle: [[Object]] - vehicle on which check is performed


|r1=[[Boolean]]
|r1= [[Boolean]]


|x1= <code>[[isVehicleRadarOn ]] [[vehicle]] [[player]]; {{cc|returns [[true]] if radar is turned on}}</code>
|x1= <sqf>isVehicleRadarOn vehicle player; // returns true if radar is turned on</sqf>


|seealso= [[setVehicleRadar]]
|seealso= [[setVehicleRadar]]
}}
}}

Latest revision as of 21:04, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns true if vehicle has active sensors on.
Groups:
Sensors

Syntax

Syntax:
isVehicleRadarOn vehicle
Parameters:
vehicle: Object - vehicle on which check is performed
Return Value:
Boolean

Examples

Example 1:
isVehicleRadarOn vehicle player; // returns true if radar is turned on

Additional Information

See also:
setVehicleRadar

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