ACE3/addons/repair/CfgEden.hpp

49 lines
2.4 KiB
C++
Raw Normal View History

2016-02-07 22:56:45 +00:00
class Cfg3DEN {
class Object {
class AttributeCategories {
class ace_attributes {
2016-02-07 22:56:45 +00:00
class Attributes {
class ace_isEngineer {
property = QUOTE(ace_isEngineer);
2016-02-07 22:56:45 +00:00
value = 0;
control = "Combo";
displayName = CSTRING(AssignEngineerRole_role_DisplayName);
tooltip = CSTRING(AssignEngineerRole_role_Description);
expression = "_this setVariable ['%s',_value];";
typeName = "NUMBER";
condition = "objectBrain";
defaultValue = 0;
class values {
class none {name = CSTRING(AssignEngineerRole_role_none); value = 0; default = 1;};
class engineer {name = CSTRING(AssignEngineerRole_role_engineer); value = 1; default = 0;};
class specialist {name = CSTRING(AssignEngineerRole_role_specialist); value = 2; default = 0;};
};
};
class ace_isRepairVehicle {
property = QUOTE(ace_isRepairVehicle);
2016-02-07 22:56:45 +00:00
value = 0;
control = "CheckboxNumber";
2016-02-20 00:51:25 +00:00
displayName = CSTRING(AssignRepairVehicle_role_DisplayName);
tooltip = CSTRING(AssignRepairVehicle_role_Description);
2016-02-07 22:56:45 +00:00
expression = "_this setVariable ['%s',_value];";
typeName = "NUMBER";
condition = "objectVehicle";
defaultValue = 0;
};
class ace_isRepairFacility {
property = QUOTE(ace_isRepairFacility);
2016-02-07 22:56:45 +00:00
value = 0;
control = "CheckboxNumber";
2016-02-20 00:51:25 +00:00
displayName = CSTRING(AssignRepairFacility_role_DisplayName);
tooltip = CSTRING(AssignRepairFacility_role_Description);
2016-02-07 22:56:45 +00:00
expression = "_this setVariable ['%s',_value];";
typeName = "NUMBER";
condition = "(1 - objectBrain) * (1 - objectVehicle)";
defaultValue = 0;
};
};
};
};
};
};