{"name":"getCruiseControl","operator":null,"title":"getCruiseControl","type":"command","url":"https://community.bistudio.com/wiki/getCruiseControl","revid":377878,"updated":"2026-01-04T15:56:01Z","groups":["Unit Control","Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.06"}],"since":{"game":"arma3","name":"Arma 3","version":"2.06"},"arma3_since":"2.06","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"description":"Returns cruise control settings set with setCruiseControl command.","syntaxes":[{"syntax":"getCruiseControl vehicle","since":null,"effect":null,"exec":null,"params":[{"name":"vehicle","type":"Object","optional":false,"default":null,"description":"the vehicle","types":["Object"],"since":null,"text":"vehicle: Object - the vehicle"}],"returns":{"type":"Array with [speedLimit, cruiseControlActive]","types":["Array"],"description":"speedLimit: Number - defined speed limit - cruiseControlActive: Boolean - true if cruise control is enabled, false if only speed was limited","text":"Array with [speedLimit, cruiseControlActive]\n- speedLimit: Number - defined speed limit\n- cruiseControlActive: Boolean - true if cruise control is enabled, false if only speed was limited"},"form":"unary","operator":null,"left":null,"right":{"text":"vehicle","types":["Object"]}}],"examples":[{"text":"```sqf\ngetCruiseControl vehicle player params [\"_speedLimit\", \"_cruiseControlActive\"];\n```","code":["getCruiseControl vehicle player params [\"_speedLimit\", \"_cruiseControlActive\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setCruiseControl","limitSpeed","forceSpeed","setAirplaneThrottle"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Command Group: Unit Control","Introduced with Arma 3 version 2.06","Scripting Commands","Scripting Commands: Local Effect"]}