Author: JShock
Author Website:

Requirements: No addons required

Version: 1.0.1

Short description: Via scroll-menu action the driver of any car, sadly not tanks or boats or air vehicles, can set a speed at which to travel in his vehicle and still have full turning capabilities!

Date: 2014-10-21 13:46


Comments: (2)
Rating:



 

Cruise Control Script

by
JShock


Description:
Via scroll-menu action the driver of any car (cars, hunters, etc.), sadly not tanks or boats or air vehicles, can set a speed at which to travel in his vehicle and still have full turning capabilities!


Installation / Usage:
In your mission folder and files:
Place the "SHK_cruise" folder in the main body of your mission folder.
In your init.sqf:
[] call SHK_fnc_cruiseSpawn;  
In your description.ext:
class CfgFunctions 
{ 
    #include "SHK_cruise\cfgfunctions.hpp" 
};
And that's it! Hope the community can enjoy and appreciate this script .

In game:
- Simply get in a vehicle as the driver, speed up to desired speed, scroll-wheel, click "Cruise Control", and there you have it!
- By pressing the "S" key (standard Arma 3 vehicle brake key), like in any real world vehicle will stop the cruise control so you can then drive like normal.
- The script won't allow the player to set the cruise control unless he is above 30 km/h.


Credits & Thanks:
Original Author and point of inspiration:
Vehicle Cruise Control Mod by Allen Kaganovsky
Note and thanks to DreadedEnitity for debugging.


Changelog:
v1.0.1
- Moved speed condition from while loop to addAction condition.

v1.0
- First Release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Action,   Cruise,   Cruise Control,   Scroll-Menu,   Speed