mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
add 2 new vars and fix up variable names
DZE_HeartBeat DZE_UseBloodTypes
This commit is contained in:
@@ -24,7 +24,7 @@ sched_gui = {
|
||||
};
|
||||
|
||||
// move this elsewhere, it deals with the menu
|
||||
if (!isNull cursorTarget and !dayz_heartBeat) then {
|
||||
if (!isNull cursorTarget and {!dayz_heartBeat} and {DZE_HeartBeat}) then {
|
||||
if (alive cursorTarget) then {
|
||||
cursorTarget spawn dayz_lowHumanity;
|
||||
};
|
||||
|
||||
@@ -8,8 +8,8 @@ sched_medical_slow = { // 10 seconds
|
||||
player setVariable["USEC_BloodQty", r_player_blood, false];
|
||||
player setVariable["medForceUpdate", true, false];
|
||||
//Send only to server
|
||||
PVDZ_serverStoreVar = [player, "USEC_BloodQty", r_player_blood];
|
||||
publicVariableServer "PVDZ_serverStoreVar";
|
||||
PVDZE_serverStoreVar = [player, "USEC_BloodQty", r_player_blood];
|
||||
publicVariableServer "PVDZE_serverStoreVar";
|
||||
};
|
||||
|
||||
objNull
|
||||
|
||||
Reference in New Issue
Block a user