ACE3/addons/explosives/Cfg3DEN.hpp
mharis001 2e5cdbd62c Explosives - Add ace_isEOD 3DEN attribute (#7080)
* Add ace_isEOD 3DEN attribute

* Apply suggestions from code review

Co-Authored-By: commy2 <commy-2@gmx.de>
2019-10-13 12:22:46 -05:00

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";
};
};
};
};
};
};