mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add Notice for PV improvements (Also a performance plus would be PVC instead of PV)
This commit is contained in:
@@ -18,6 +18,7 @@ if !(_callerID in _rfriendlies) then {
|
|||||||
// caller
|
// caller
|
||||||
titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize
|
titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize
|
||||||
// target
|
// target
|
||||||
|
//Could be changed to PVC via server_sendToClient.sqf (From DayZCE) - Commit by Skaronator
|
||||||
PVDZE_plr_FriendRQ = _target;
|
PVDZE_plr_FriendRQ = _target;
|
||||||
publicVariable "PVDZE_plr_FriendRQ";
|
publicVariable "PVDZE_plr_FriendRQ";
|
||||||
};
|
};
|
||||||
@@ -49,7 +49,7 @@ if (_finished) then {
|
|||||||
_display closeDisplay 0;
|
_display closeDisplay 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
//["usecBandage",[_unit,player]] call broadcastRpcCallAll;
|
//DayZ CE: Has been changed to PVC via server_sendToClient.sqf -> Could we also do here - Commit by Skaronator
|
||||||
usecBandage = [_unit,player];
|
usecBandage = [_unit,player];
|
||||||
publicVariable "usecBandage";
|
publicVariable "usecBandage";
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
CARRY BODY SCRIPT
|
CARRY BODY SCRIPT
|
||||||
|
|
||||||
Allows players to carry unconscious bodies
|
Allows players to carry unconscious bodies
|
||||||
|
|
||||||
JULY 2010 - norrin
|
JULY 2010 - norrin
|
||||||
*****************************************************************************************************************************
|
*****************************************************************************************************************************
|
||||||
Start carry.sqf
|
Start carry.sqf
|
||||||
@@ -23,6 +20,7 @@ _dragee setVariable ["NORRN_unit_dragged", true, true];
|
|||||||
detach _dragee;
|
detach _dragee;
|
||||||
sleep 1.5;
|
sleep 1.5;
|
||||||
// public EH
|
// public EH
|
||||||
|
//DayZ CE: PublicVariables are removed in DayZ CE -> Could we also do here - Commit by Skaronator
|
||||||
norrnRACarUp = _dragee;
|
norrnRACarUp = _dragee;
|
||||||
publicVariable "norrnRACarUp";
|
publicVariable "norrnRACarUp";
|
||||||
_dragee switchMove "ainjpfalmstpsnonwrfldnon_carried_up";
|
_dragee switchMove "ainjpfalmstpsnonwrfldnon_carried_up";
|
||||||
@@ -35,7 +33,7 @@ _dragee attachto [_unit,[-0.2, 0.2, 0]];
|
|||||||
|
|
||||||
|
|
||||||
while {r_carry_sqf} do
|
while {r_carry_sqf} do
|
||||||
{
|
{
|
||||||
_anim_name = animationstate _unit;
|
_anim_name = animationstate _unit;
|
||||||
if (!(_dragee getVariable "NORRN_unconscious")) exitWith
|
if (!(_dragee getVariable "NORRN_unconscious")) exitWith
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ if (!_isDead) then {
|
|||||||
_unit setVariable ["USEC_isCardiac",false,true];
|
_unit setVariable ["USEC_isCardiac",false,true];
|
||||||
sleep 5;
|
sleep 5;
|
||||||
//["usecEpi",[_unit,player,"ItemEpinephrine"]] call broadcastRpcCallAll;
|
//["usecEpi",[_unit,player,"ItemEpinephrine"]] call broadcastRpcCallAll;
|
||||||
|
//DayZ CE: Has been changed to PVC via server_sendToClient.sqf -> Could we also do here - Commit by Skaronator
|
||||||
usecEpi = [_unit,player,"ItemEpinephrine"];
|
usecEpi = [_unit,player,"ItemEpinephrine"];
|
||||||
publicVariable "usecEpi";
|
publicVariable "usecEpi";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ if (local _wounded) then
|
|||||||
_wounded action ["EJECT", _vcl];
|
_wounded action ["EJECT", _vcl];
|
||||||
sleep 1;
|
sleep 1;
|
||||||
};
|
};
|
||||||
|
//DayZ CE: PublicVariables are removed in DayZ CE -> Could we also do here - Commit by Skaronator
|
||||||
norrinRAlie = _wounded;
|
norrinRAlie = _wounded;
|
||||||
publicVariable "norrinRAlie";
|
publicVariable "norrinRAlie";
|
||||||
_wounded switchMove "ainjppnemstpsnonwrfldnon";
|
_wounded switchMove "ainjppnemstpsnonwrfldnon";
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ if (_finished) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
//["usecMorphine",[_unit,player]] call broadcastRpcCallAll;
|
//["usecMorphine",[_unit,player]] call broadcastRpcCallAll;
|
||||||
|
//DayZ CE: PublicVariables are removed in DayZ CE -> Could we also do here - Commit by Skaronator
|
||||||
usecMorphine = [_unit,player];
|
usecMorphine = [_unit,player];
|
||||||
publicVariable "usecMorphine";
|
publicVariable "usecMorphine";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,12 +6,9 @@ _unit = _array select 0;
|
|||||||
_attacker = _array select 1;
|
_attacker = _array select 1;
|
||||||
|
|
||||||
if (_unit == player && player distance _attacker < 5) then {
|
if (_unit == player && player distance _attacker < 5) then {
|
||||||
|
|
||||||
player setVariable["startcombattimer", 1, false];
|
player setVariable["startcombattimer", 1, false];
|
||||||
|
|
||||||
// Make bleed
|
// Make bleed
|
||||||
if (random 2 < 1) then {
|
if (random 2 < 1) then {
|
||||||
|
|
||||||
// Find hit
|
// Find hit
|
||||||
_cnt = count (DAYZ_woundHit_ok select 1);
|
_cnt = count (DAYZ_woundHit_ok select 1);
|
||||||
_index = floor (random _cnt);
|
_index = floor (random _cnt);
|
||||||
@@ -61,11 +58,4 @@ if (_unit == player && player distance _attacker < 5) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
[_unit,"hit",2,false] call dayz_zombieSpeak;
|
[_unit,"hit",2,false] call dayz_zombieSpeak;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user