ACE3/addons/map/Cfg3DEN.hpp
commy2 c1ead851cb Add 3den attribute to disable bft (#4452)
* add 3den object attribte to disable BFT on the object

* delay setVariable public on group

* fix tooltip
2016-09-24 21:46:03 +02:00

22 lines
922 B
C++

class Cfg3DEN {
class Group {
class AttributeCategories {
class ace_attributes {
class Attributes {
class GVAR(hideBlueForceMarker) {
property = QGVAR(hideBlueForceMarker);
control = "Checkbox";
displayName = CSTRING(disableBFT);
tooltip = CSTRING(disableBFT_description);
// groups are kaputt. have to delay setVariable public for it to work.
expression = QUOTE(if (_value) then {[ARR_2({(_this select 0) setVariable [ARR_3('%s',_this select 1,true)];},[ARR_2(_this,_value)])] call CBA_fnc_execNextFrame};);
typeName = "BOOL";
defaultValue = "(false)"; // fix pbo project preprocessing bug
};
};
};
};
};
};