Include Base Building Godmode

This commit is contained in:
Skaronator
2014-02-06 11:52:18 +01:00
parent a625738ce9
commit c3112bc12d
4 changed files with 25 additions and 10 deletions

View File

@@ -22,7 +22,11 @@ _object setVariable ["lastUpdate",time];
_object setVariable ["ObjectUID", _uid,true];
// _object setVariable ["CharacterID",_charID,true];
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
if (DZE_GodModeBase) then {
_object addEventHandler ["HandleDamage", {false}];
}else{
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
};
// Test disabling simulation server side on buildables only.
_object enableSimulation false;