add object 3den setting for disabling cook off effects

This commit is contained in:
commy2 2016-09-17 17:47:29 +02:00
parent 5134c16dd0
commit 3d18374747
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
class Cfg3DEN {
class Object {
class AttributeCategories {
class ace_attributes {
class Attributes {
class GVAR(enable) {
property = QGVAR(enable);
control = "CheckboxInverted";
displayName = CSTRING(enable_name);
tooltip = CSTRING(enable_tooltip);
expression = QUOTE(if !(_value) then {_this setVariable [ARR_3('%s',_value,true)];};);
typeName = "BOOL";
condition = "objectVehicle";
defaultValue = "(true)"; // fix pbo project preprocessing bug
};
};
};
};
};
};

View File

@ -15,6 +15,7 @@ class CfgPatches {
};
#include "ACE_Settings.hpp"
#include "CfgEden.hpp"
#include "CfgEventHandlers.hpp"
#include "CfgCloudlets.hpp"