isVehicleRadarOn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns true if vehicle has active sensors on|DESCRIPTION= | | Returns true if vehicle has active sensors on. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[isVehicleRadarOn]] vehicle |SYNTAX= | ||
|p1 = vehicle: [[Object]] - vehicle on which check is performed | |p1 = vehicle: [[Object]] - vehicle on which check is performed | ||
| [[ | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[isVehicleRadarOn ]] [[vehicle]] [[player]] ; | |x1= <code>[[isVehicleRadarOn ]] [[vehicle]] [[player]]; {{cc|returns [[true]] if radar is turned on}}</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setVehicleRadar]] |SEEALSO= | | [[setVehicleRadar]] |SEEALSO= | ||
}} | }} | ||
Line 32: | Line 30: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 00:13, 24 August 2020
Description
- Description:
- Returns true if vehicle has active sensors on.
- Groups:
- Uncategorised
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