Crate DynSim Toggle

This commit is contained in:
DESKTOP-UH65DCE\MusTanG 2017-04-24 21:27:49 -05:00
parent f105490cca
commit 087bc76c47

View File

@ -104,8 +104,14 @@ if !(_crate getVariable ["DMS_CrateGodMode",DMS_GodmodeCrates]) then
{
_crate allowDamage true;
};
_crate enableSimulationGlobal true;
if(dynamicSimulationSystemEnabled)then
{
_crate enableDynamicSimulation true;
}
else
{
_crate enableSimulationGlobal true;
};
if (_crate getVariable ["DMS_CrateEnableRope",DMS_EnableBoxMoving]) then
{
_crate enableRopeAttach true;