mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
e399597678
- Use unary `createVehicle` syntax - Removed some parenthesis - Simpify 3den property condition
22 lines
779 B
C++
22 lines
779 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 = "objectHasInventoryCargo";
|
|
defaultValue = "(true)"; // fix pbo project preprocessing bug
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|