getCruiseControl: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{RV|type=command |game1= arma3 |branch= dev |version1= 2.06 |arg= local |eff= local |descr= Returns cruise control settings set with setCruiseControl command. |gr1...") |
Lou Montana (talk | contribs) |
||
Line 23: | Line 23: | ||
|r1= [[Array]] in format: | |r1= [[Array]] in format: | ||
* 0: [[Number]] - Defined speed limit | * 0: [[Number]] - Defined speed limit | ||
* 1: [[Boolean]] - [[true | * 1: [[Boolean]] - [[true]] if cruise control is enabled, [[false]] if only speed was limited | ||
|x1= <code>[[getCruiseControl]] [[vehicle]] [[player]] [[params]] ["_speedLimit", "_cruiseControlActive"];</code> | |x1= <code>[[getCruiseControl]] [[vehicle]] [[player]] [[params]] ["_speedLimit", "_cruiseControlActive"];</code> |
Revision as of 19:20, 25 September 2021
Description
- Description:
- Returns cruise control settings set with setCruiseControl command.
- Groups:
- Unit ControlObject Manipulation
Syntax
- Syntax:
- getCruiseControl vehicle
- Parameters:
- vehicle: Object - The vehicle
- Return Value:
- Array in format:
Examples
- Example 1:
getCruiseControl vehicle player params ["_speedLimit", "_cruiseControlActive"];
Additional Information
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