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