isVehicleRadarOn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.72 | |1.72 | ||
|gr1= Sensors | |gr1= Sensors | ||
| Returns true if vehicle has active sensors on. | | Returns true if vehicle has active sensors on. | ||
| [[isVehicleRadarOn]] vehicle | | [[isVehicleRadarOn]] vehicle | ||
|p1 = vehicle: [[Object]] - vehicle on which check is performed | |p1 = vehicle: [[Object]] - vehicle on which check is performed | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[[isVehicleRadarOn ]] [[vehicle]] [[player]]; {{cc|returns [[true]] if radar is turned on}}</code> | |x1= <code>[[isVehicleRadarOn ]] [[vehicle]] [[player]]; {{cc|returns [[true]] if radar is turned on}}</code> | ||
| [[setVehicleRadar]] | | [[setVehicleRadar]] | ||
}} | }} | ||
Revision as of 00:40, 18 January 2021
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