isVehicleRadarOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=")
m (Some wiki formatting)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.72
|1.72


|gr1= Sensors
|gr1= Sensors


| Returns true if vehicle has active sensors on.
|descr= Returns true if vehicle has active sensors on.


| [[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