Remove Old Combatroll

This commit is contained in:
Skaronator
2013-10-05 19:45:32 +02:00
parent 62f742d894
commit 47f711a78e

View File

@@ -388,25 +388,6 @@ if (!isDedicated) then {
_handled
};
player_CombatRoll = {
DoRE = ({isPlayer _x} count (player nearEntities ["AllVehicles",100]) > 1);
if (canRoll && animationState player in ["amovpercmrunslowwrfldf","amovpercmrunsraswrfldf","amovpercmevaslowwrfldf","amovpercmevasraswrfldf"]) then {
canRoll = false;
null = [] spawn {
if (DoRE) then {
[nil, player, rSWITCHMOVE, "ActsPercMrunSlowWrflDf_FlipFlopPara"] call RE;
} else {
player switchMove "ActsPercMrunSlowWrflDf_FlipFlopPara";
};
sleep 0.3;
player setVelocity [(velocity player select 0) + 1.5 * sin direction player, (velocity player select 1) + 1.5 * cos direction player, (velocity player select 2) + 4];
sleep 1;
canRoll = true;
};
_handled = true;
};
};
player_serverModelChange = {
private["_object","_model"];
_object = _this select 0;