mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fixes
fix error if EPOCH_playerEnergyMax was nil another test case for swapBuilding if still not fixed. removed hitpoints var from heal and godmode as it is not used.
This commit is contained in:
parent
d318d99a86
commit
2154402d85
@ -25,6 +25,13 @@ if (!isNull _object && !(_class isEqualTo "")) then {
|
|||||||
case 1: {
|
case 1: {
|
||||||
_newObj attachTo [_object,[0,0,0]];
|
_newObj attachTo [_object,[0,0,0]];
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
|
case 2: {
|
||||||
|
_newObj setPosWorld _objectPos;
|
||||||
|
_newObj setDir (getDir _object);
|
||||||
|
_newObj setVectorUp (vectorup _object);
|
||||||
|
};
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
deleteVehicle _object;
|
deleteVehicle _object;
|
||||||
|
|
||||||
|
@ -1438,8 +1438,8 @@ _skn_admincode = compileFinal ("
|
|||||||
player allowDamage false;
|
player allowDamage false;
|
||||||
{
|
{
|
||||||
missionNamespace setVariable[format['EPOCH_player%1', _x], EPOCH_defaultVars select(EPOCH_customVars find _x)]
|
missionNamespace setVariable[format['EPOCH_player%1', _x], EPOCH_defaultVars select(EPOCH_customVars find _x)]
|
||||||
} forEach['Temp','Hunger','Thirst','Toxicity','Stamina','HitPoints','BloodP'];
|
} forEach['Temp','Hunger','Thirst','Toxicity','Stamina','BloodP'];
|
||||||
EPOCH_playerEnergy = EPOCH_playerEnergyMax;
|
EPOCH_playerEnergy = missionNamespace getVariable ['EPOCH_playerEnergyMax', 2500];
|
||||||
uiSleep 0.25;
|
uiSleep 0.25;
|
||||||
!"+_skn_tg_godMode+"
|
!"+_skn_tg_godMode+"
|
||||||
};
|
};
|
||||||
|
@ -30,7 +30,7 @@ class CfgSecConf
|
|||||||
resetTempGroup = "Epoch_my_tempGroup = []; Epoch_my_tempGroupUID = '';";
|
resetTempGroup = "Epoch_my_tempGroup = []; Epoch_my_tempGroupUID = '';";
|
||||||
tempGroupUpdate = "Epoch_my_tempGroup = _this; call EPOCH_tempGroup_update;";
|
tempGroupUpdate = "Epoch_my_tempGroup = _this; call EPOCH_tempGroup_update;";
|
||||||
tempGroupUidUpdate = "Epoch_my_tempGroupUID = _this;";
|
tempGroupUidUpdate = "Epoch_my_tempGroupUID = _this;";
|
||||||
healPlayer = "{missionNamespace setVariable[format['EPOCH_player%1', _x], EPOCH_defaultVars select(EPOCH_customVars find _x)]} forEach['Temp','Hunger','Thirst','Toxicity','Stamina','HitPoints','BloodP','Alcohol','Radiation'];";
|
healPlayer = "{missionNamespace setVariable[format['EPOCH_player%1', _x], EPOCH_defaultVars select(EPOCH_customVars find _x)]} forEach['Temp','Hunger','Thirst','Toxicity','Stamina','BloodP','Alcohol','Radiation'];";
|
||||||
tradeComplete = "EPOCH_TRADE_COMPLETE = _this;";
|
tradeComplete = "EPOCH_TRADE_COMPLETE = _this;";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user