mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
2e5cdbd62c
* Add ace_isEOD 3DEN attribute * Apply suggestions from code review Co-Authored-By: commy2 <commy-2@gmx.de>
23 lines
803 B
C++
23 lines
803 B
C++
#define DEFAULT_IS_EOD (_this getUnitTrait 'explosiveSpecialist')
|
|
|
|
class Cfg3DEN {
|
|
class Object {
|
|
class AttributeCategories {
|
|
class ace_attributes {
|
|
class Attributes {
|
|
class ace_isEOD {
|
|
displayName = CSTRING(IsEOD_DisplayName);
|
|
tooltip = CSTRING(IsEOD_Description);
|
|
property = QUOTE(ace_isEOD);
|
|
control = "Checkbox";
|
|
expression = QUOTE(_this setVariable [ARR_3('ACE_isEOD',_value,true)]);
|
|
defaultValue = QUOTE(DEFAULT_IS_EOD);
|
|
condition = "objectBrain";
|
|
typeName = "BOOL";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|