mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
0.95
+ work around added to player zombie "get over" stuck animation issue. + added setpos to vaults, allows precise positioning + possible fix for damage spam at server start. + added player zombie attack move, Works with animals and zombies only currently. + 10oz bars for all types of metal + fix for detecting near vehicles when selling fixes #81
This commit is contained in:
@@ -225,12 +225,21 @@ if (!isDedicated) then {
|
||||
_dikCode = _this select 1;
|
||||
_handled = false;
|
||||
if (_dikCode in (actionKeys "GetOver")) then {
|
||||
|
||||
if (player isKindOf "PZombie_VB") exitWith {
|
||||
//player action ["sitDown", player];
|
||||
player switchAction "sitDown";
|
||||
//player playMoveNow "ZombieStandingAttack1";
|
||||
//player switchMove "AmovPercMstpSnonWnonDnon";
|
||||
diag_log "Saved player zombie from animation lockup?";
|
||||
};
|
||||
|
||||
DoRE = ({isPlayer _x} count (player nearEntities ["AllVehicles",500]) > 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;
|
||||
[nil, player, rSWITCHMOVE,"ActsPercMrunSlowWrflDf_FlipFlopPara"] call RE;
|
||||
} else {
|
||||
player switchMove "ActsPercMrunSlowWrflDf_FlipFlopPara";
|
||||
};
|
||||
|
||||
@@ -106,6 +106,7 @@ dayz_resetSelfActions = {
|
||||
s_player_fillfuel = -1;
|
||||
s_player_grabflare = -1;
|
||||
s_player_callzombies = -1;
|
||||
s_player_pzombiesattack = -1;
|
||||
s_player_removeflare = -1;
|
||||
s_player_painkiller = -1;
|
||||
s_player_studybody = -1;
|
||||
|
||||
Reference in New Issue
Block a user