isVehicleRadarOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Sensors |GROUP1=
|gr1= Sensors |GROUP1=
____________________________________________________________________________________________


| Returns true if vehicle has active sensors on. |DESCRIPTION=
| Returns true if vehicle has active sensors on. |DESCRIPTION=
____________________________________________________________________________________________


| [[isVehicleRadarOn]] vehicle |SYNTAX=
| [[isVehicleRadarOn]] vehicle |SYNTAX=
Line 17: Line 14:


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


| [[setVehicleRadar]] |SEEALSO=
| [[setVehicleRadar]] |SEEALSO=

Revision as of 01:36, 17 January 2021

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

Notes

Bottom Section