mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
removed ;
This commit is contained in:
parent
096f03e7b9
commit
b5a99880d8
@ -1,10 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
Author: [Ignatz] He-Man
|
Author: He-Man
|
||||||
|
|
||||||
Contributors:
|
Contributors:
|
||||||
|
|
||||||
Description:
|
Description: Autorun script
|
||||||
Autorun script
|
|
||||||
|
|
||||||
Licence:
|
Licence:
|
||||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||||
|
@ -20,17 +20,17 @@
|
|||||||
private["_canAutoRun","_currentPos"];
|
private["_canAutoRun","_currentPos"];
|
||||||
_canAutoRun = true;
|
_canAutoRun = true;
|
||||||
if !(istouchingground player) exitwith {
|
if !(istouchingground player) exitwith {
|
||||||
false;
|
false
|
||||||
};
|
};
|
||||||
if !((vehicle player) == player) exitwith {
|
if !((vehicle player) == player) exitwith {
|
||||||
false;
|
false
|
||||||
};
|
};
|
||||||
if ((getPosasl player) select 2 < -0.5) exitwith {
|
if ((getPosasl player) select 2 < -0.5) exitwith {
|
||||||
false;
|
false
|
||||||
};
|
};
|
||||||
if ((player getHitPointDamage "HitLegs") >= 0.5) exitwith {
|
if ((player getHitPointDamage "HitLegs") >= 0.5) exitwith {
|
||||||
["Can not AutoRun - Your legs are Broken!",5] call Epoch_Message;
|
["Can not AutoRun - Your legs are Broken!",5] call Epoch_Message;
|
||||||
false;
|
false
|
||||||
};
|
};
|
||||||
if !(player nearObjects["Const_All_Walls_F", 6] isEqualTo[]) then {
|
if !(player nearObjects["Const_All_Walls_F", 6] isEqualTo[]) then {
|
||||||
_currentPos = player modelToWorld [0, 1, 1];
|
_currentPos = player modelToWorld [0, 1, 1];
|
||||||
|
Loading…
Reference in New Issue
Block a user