mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
769 B
C++
22 lines
769 B
C++
|
|
class Cfg3DEN {
|
|
class Object {
|
|
class AttributeCategories {
|
|
class ace_attributes {
|
|
class Attributes {
|
|
class GVAR(enable) {
|
|
property = QGVAR(enable);
|
|
control = "Checkbox";
|
|
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
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|