mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add autorun hotkey
Tested while autorunning: - getting knocked out - breaking legs - running into water - getting into and out of vehicles - climbing a ladder - dying - antiTP enabled - running up steep hills - as player zombie Everything works as expected. This does allow you to run up and down pretty steep hills, but if you try to scale something too steep you will break your legs as expected.
This commit is contained in:
@@ -379,6 +379,12 @@ if (!isDedicated) then {
|
||||
player setVariable ["DZE_Surrendered", false, true];
|
||||
DZE_Surrender = false;
|
||||
};
|
||||
|
||||
autoRunOff = {
|
||||
autoRunActive = 0;
|
||||
terminate autoRunThread;
|
||||
player playActionNow "Stop";
|
||||
};
|
||||
|
||||
gear_ui_init = {
|
||||
private["_control","_parent","_menu","_dspl","_grpPos"];
|
||||
|
||||
@@ -835,4 +835,5 @@ if(!isDedicated) then {
|
||||
|
||||
DZE_SaveTime = 30;
|
||||
Dayz_constructionContext = [];
|
||||
autoRunActive = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user