mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-05-15 15:13:22 +03:00
0.1
This commit is contained in:
7
dayz_code/medical/publicEH/allowDamage.sqf
Normal file
7
dayz_code/medical/publicEH/allowDamage.sqf
Normal file
@@ -0,0 +1,7 @@
|
||||
// allowDamage.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
|
||||
_unit allowDamage true;
|
||||
_unit setCaptive false;
|
||||
5
dayz_code/medical/publicEH/animDrag.sqf
Normal file
5
dayz_code/medical/publicEH/animDrag.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
// animDrag.sqf
|
||||
|
||||
_dragee = _this select 0;
|
||||
|
||||
_dragee switchmove "ainjppnemstpsnonwrfldb_still";
|
||||
9
dayz_code/medical/publicEH/animHealed.sqf
Normal file
9
dayz_code/medical/publicEH/animHealed.sqf
Normal file
@@ -0,0 +1,9 @@
|
||||
// animHealed.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
|
||||
if (_unit == player) then {
|
||||
r_player_unconscious = false;
|
||||
r_player_injured = false;
|
||||
};
|
||||
4
dayz_code/medical/publicEH/carriedUp.sqf
Normal file
4
dayz_code/medical/publicEH/carriedUp.sqf
Normal file
@@ -0,0 +1,4 @@
|
||||
//carriedUp.sqf
|
||||
|
||||
_dragee = _this select 0;
|
||||
_dragee switchmove "ainjpfalmstpsnonwrfldnon_carried_up";
|
||||
6
dayz_code/medical/publicEH/deadState.sqf
Normal file
6
dayz_code/medical/publicEH/deadState.sqf
Normal file
@@ -0,0 +1,6 @@
|
||||
//deadState.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "deadState";
|
||||
|
||||
6
dayz_code/medical/publicEH/lieStill.sqf
Normal file
6
dayz_code/medical/publicEH/lieStill.sqf
Normal file
@@ -0,0 +1,6 @@
|
||||
//lieStill.sqf
|
||||
|
||||
_dragee = _this select 0;
|
||||
|
||||
_dragee playMoveNow "ainjppnemstpsnonwrfldnon";
|
||||
|
||||
5
dayz_code/medical/publicEH/load_wounded.sqf
Normal file
5
dayz_code/medical/publicEH/load_wounded.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
// load_wounded.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "kia_hmmwv_driver";
|
||||
22
dayz_code/medical/publicEH/medBandaged.sqf
Normal file
22
dayz_code/medical/publicEH/medBandaged.sqf
Normal file
@@ -0,0 +1,22 @@
|
||||
// animHealed.sqf
|
||||
private["_array","_unit","_medic","_display","_control"];
|
||||
disableserialization;
|
||||
_array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
if (_unit == player) then {
|
||||
r_player_injured = false;
|
||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
||||
r_player_handler = false;
|
||||
if (r_player_blood == r_player_bloodTotal) then {
|
||||
player setVariable["USEC_lowBlood",false,true];
|
||||
};
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1303;
|
||||
_control ctrlShow false;
|
||||
};
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
23
dayz_code/medical/publicEH/medEpi.sqf
Normal file
23
dayz_code/medical/publicEH/medEpi.sqf
Normal file
@@ -0,0 +1,23 @@
|
||||
// animHealed.sqf
|
||||
_array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
_isDead = _unit getVariable["USEC_isDead",false];
|
||||
|
||||
if (local _unit) then {_unit setCaptive false};
|
||||
|
||||
if (!_isDead) then {
|
||||
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
|
||||
_unit setVariable ["NORRN_unconscious", false, true];
|
||||
_unit setVariable ["USEC_isCardiac",false,true];
|
||||
if (_unit == player) then {
|
||||
r_player_unconscious = false;
|
||||
disableUserInput false;
|
||||
r_player_cardiac = false;
|
||||
r_player_handler1 = false;
|
||||
};
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
};
|
||||
26
dayz_code/medical/publicEH/medMorphine.sqf
Normal file
26
dayz_code/medical/publicEH/medMorphine.sqf
Normal file
@@ -0,0 +1,26 @@
|
||||
// animHealed.sqf
|
||||
private["_array","_unit","_medic","_display","_control","_hitLegs","_hitArms"];
|
||||
disableserialization;
|
||||
_array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
if (_unit == player) then {
|
||||
r_fracture_legs = false;
|
||||
r_fracture_arms = false;
|
||||
_unit setHit["legs",0];
|
||||
_unit setHit["hands",0];
|
||||
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1203;
|
||||
_control ctrlShow false;
|
||||
|
||||
_id = false spawn dayz_disableRespawn;
|
||||
};
|
||||
_unit setVariable ["hit_legs",0];
|
||||
_unit setVariable ["hit_hands",0];
|
||||
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
12
dayz_code/medical/publicEH/medPainkiller.sqf
Normal file
12
dayz_code/medical/publicEH/medPainkiller.sqf
Normal file
@@ -0,0 +1,12 @@
|
||||
// animHealed.sqf
|
||||
_array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
if (_unit == player) then {
|
||||
r_player_inpain = false;
|
||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
||||
};
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
24
dayz_code/medical/publicEH/medTransfuse.sqf
Normal file
24
dayz_code/medical/publicEH/medTransfuse.sqf
Normal file
@@ -0,0 +1,24 @@
|
||||
// animHealed.sqf
|
||||
private["_array","_unit","_medic","_display","_control","_lowBlood"];
|
||||
disableserialization;
|
||||
_array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
if (_unit == player) then {
|
||||
r_player_blood = r_player_bloodTotal;
|
||||
r_player_lowblood = false;
|
||||
10 fadeSound 1;
|
||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
||||
"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5;
|
||||
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1300;
|
||||
_control ctrlShow true;
|
||||
|
||||
player setVariable["USEC_BloodQty",r_player_bloodTotal,true];
|
||||
};
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
7
dayz_code/medical/publicEH/medinject.sqf
Normal file
7
dayz_code/medical/publicEH/medinject.sqf
Normal file
@@ -0,0 +1,7 @@
|
||||
// animHealed.sqf
|
||||
_array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
_item = _array select 2;
|
||||
|
||||
_medic playMove "AinvPknlMstpSnonWrflDnon_medic1";
|
||||
5
dayz_code/medical/publicEH/noAnim.sqf
Normal file
5
dayz_code/medical/publicEH/noAnim.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
//noAnim.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "";
|
||||
8
dayz_code/medical/publicEH/noDamage.sqf
Normal file
8
dayz_code/medical/publicEH/noDamage.sqf
Normal file
@@ -0,0 +1,8 @@
|
||||
// noDamage.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit setCaptive 3;
|
||||
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
|
||||
_unit allowDamage false;
|
||||
sleep 0.01;
|
||||
5
dayz_code/medical/publicEH/pickUp.sqf
Normal file
5
dayz_code/medical/publicEH/pickUp.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
// pickUp.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "acinpknlmstpsraswrfldnon_acinpercmrunsraswrfldnon";
|
||||
5
dayz_code/medical/publicEH/promptRName.sqf
Normal file
5
dayz_code/medical/publicEH/promptRName.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
// promptRName.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
call compile format ["server globalChat reviver_%1", _unit];
|
||||
6
dayz_code/medical/publicEH/rolltoback.sqf
Normal file
6
dayz_code/medical/publicEH/rolltoback.sqf
Normal file
@@ -0,0 +1,6 @@
|
||||
// rolltoback.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "ainjppnemstpsnonwrfldnon_rolltoback";
|
||||
|
||||
6
dayz_code/medical/publicEH/rolltofront.sqf
Normal file
6
dayz_code/medical/publicEH/rolltofront.sqf
Normal file
@@ -0,0 +1,6 @@
|
||||
// rolltofront.sqf
|
||||
|
||||
_unit = _this select 0;
|
||||
|
||||
_unit switchMove "ainjppnemstpsnonwrfldnon_rolltofront";
|
||||
|
||||
5
dayz_code/medical/publicEH/set180.sqf
Normal file
5
dayz_code/medical/publicEH/set180.sqf
Normal file
@@ -0,0 +1,5 @@
|
||||
// set180.sqf
|
||||
|
||||
_dragee = _this select 0;
|
||||
|
||||
_dragee setDir 180;
|
||||
Reference in New Issue
Block a user