2016-09-17 15:47:29 +00:00
|
|
|
|
|
|
|
class Cfg3DEN {
|
|
|
|
class Object {
|
|
|
|
class AttributeCategories {
|
|
|
|
class ace_attributes {
|
|
|
|
class Attributes {
|
|
|
|
class GVAR(enable) {
|
|
|
|
property = QGVAR(enable);
|
2016-09-17 16:08:08 +00:00
|
|
|
control = "Checkbox";
|
2016-09-17 15:47:29 +00:00
|
|
|
displayName = CSTRING(enable_name);
|
|
|
|
tooltip = CSTRING(enable_tooltip);
|
|
|
|
expression = QUOTE(if !(_value) then {_this setVariable [ARR_3('%s',_value,true)];};);
|
|
|
|
typeName = "BOOL";
|
2016-11-06 12:24:00 +00:00
|
|
|
condition = "objectHasInventoryCargo";
|
2016-09-17 15:47:29 +00:00
|
|
|
defaultValue = "(true)"; // fix pbo project preprocessing bug
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|