mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Push #941 - Painkiller
This commit is contained in:
@@ -34,7 +34,11 @@ if(_num_removed == 1) then {
|
||||
|
||||
sleep 1;
|
||||
//clear the healed player's vision
|
||||
//["usecPainK",[_unit,player]] call broadcastRpcCallAll;
|
||||
usecPainK = [_unit,player];
|
||||
publicVariable "usecPainK";
|
||||
|
||||
/* WIP - PVS/PVC - Skaronator
|
||||
PVDZE_send = [_unit,"Painkiller",[_unit,player]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
*/
|
||||
};
|
||||
|
||||
@@ -10,6 +10,7 @@ if ((_unit == player) or (vehicle player != player)) then {
|
||||
R3F_TIRED_Accumulator = 0;
|
||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
||||
};
|
||||
/* WIP - PVS/PVC - Not anymore used: moved to server_sendToClient.sqf - Skaronator */
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
@@ -49,8 +49,9 @@ switch (_variable) do {
|
||||
};
|
||||
|
||||
case "Painkiller": {
|
||||
PVCDZ_hlt_PainK = _arraytosend;
|
||||
_owner publicVariableClient "PVCDZ_hlt_PainK";
|
||||
usecPainK = _arraytosend;
|
||||
_owner publicVariableClient "usecPainK";
|
||||
//Don't forget!! Checkout dayz_code\medical\publicEH\medPainkiller.sqf #13
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user