isVehicleRadarOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:isVehicleRadarOn}} {{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |...")
 
m (Some wiki formatting)
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:isVehicleRadarOn}}
{{RV|type=command
{{Command|= Comments
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.72


|1.71|= Game version
|gr1= Sensors
____________________________________________________________________________________________


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


| '''isVehicleRadarOn''' vehicle |= Syntax
|s1= [[isVehicleRadarOn]] vehicle


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


| [[Bool]] |= Return value |= Return value
|r1= [[Boolean]]
____________________________________________________________________________________________
 
|x1= <code>[[isVehicleRadarOn ]] [[vehicle]] [[player]] ; // returns true if radar is turned on</code> |= Example 1
____________________________________________________________________________________________


| |= See also
|x1= <sqf>isVehicleRadarOn vehicle player; // returns true if radar is turned on</sqf>


|seealso= [[setVehicleRadar]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

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