mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
49 lines
2.4 KiB
C++
49 lines
2.4 KiB
C++
|
class Cfg3DEN {
|
||
|
class Object {
|
||
|
class AttributeCategories {
|
||
|
class StateSpecial {
|
||
|
class Attributes {
|
||
|
class ACE_IsMedic {
|
||
|
property = QUOTE(ACE_IsMedic);
|
||
|
value = 0;
|
||
|
control = "Combo";
|
||
|
displayName = CSTRING(AssignMedicRoles_role_DisplayName);
|
||
|
tooltip = CSTRING(Attributes_isMedic_Description);
|
||
|
expression = QUOTE(_this setVariable [ARR_2(QUOTE(QGVAR(medicClass)),_value)];);
|
||
|
typeName = "NUMBER";
|
||
|
condition = "objectBrain";
|
||
|
defaultValue = 0;
|
||
|
class values {
|
||
|
class none {name = CSTRING(AssignMedicRoles_role_none); value = 0; default = 1;};
|
||
|
class medic {name = CSTRING(AssignMedicRoles_role_medic); value = 1; default = 0;};
|
||
|
class doctor {name = CSTRING(AssignMedicRoles_role_doctor); value = 2; default = 0;};
|
||
|
};
|
||
|
};
|
||
|
class ACE_isMedicalVehicle {
|
||
|
property = QUOTE(ACE_isMedicalVehicle);
|
||
|
value = 0;
|
||
|
control = "CheckboxNumber";
|
||
|
displayName = CSTRING(AssignMedicVehicle_enabled_DisplayName)
|
||
|
tooltip = CSTRING(Attributes_isMedicalVehicle_Description)
|
||
|
expression = QUOTE(_this setVariable [ARR_2(QUOTE(QGVAR(medicClass)),_value)];);
|
||
|
typeName = "NUMBER";
|
||
|
condition = "objectVehicle";
|
||
|
defaultValue = 0;
|
||
|
};
|
||
|
class ACE_isMedicalFacility {
|
||
|
property = QUOTE(ACE_isMedicalFacility);
|
||
|
value = 0;
|
||
|
control = "Checkbox";
|
||
|
displayName = CSTRING(AssignMedicalFacility_enabled_DisplayName)
|
||
|
tooltip = CSTRING(AssignMedicalFacility_enabled_Description)
|
||
|
expression = QUOTE(_this setVariable [ARR_2(QUOTE(QGVAR(isMedicalFacility)),_value)];);
|
||
|
typeName = "BOOL";
|
||
|
condition = "(1 - objectBrain) * (1 - objectVehicle)";
|
||
|
defaultValue = "false";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|