add 2 new vars and fix up variable names

DZE_HeartBeat
DZE_UseBloodTypes
This commit is contained in:
icomrade
2016-03-01 00:23:14 -05:00
parent a3dac45061
commit bad0a2e461
28 changed files with 112 additions and 121 deletions

View File

@@ -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;
};

View File

@@ -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