ACE3/addons/medical_menu/InteractionBodyParts.hpp

58 lines
2.6 KiB
C++
Raw Normal View History

2016-09-21 15:55:19 +00:00
class ACE_Head {
displayName = ECSTRING(interaction,Head);
icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
exceptions[] = {"isNotInside", "isNotSitting"};
2016-09-29 20:08:36 +00:00
statement = QUOTE([ARR_3(_target, true, 0)] call EFUNC(medical_treatment,displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,0,_this select 3)] call FUNC(modifyAction));
2016-09-21 15:55:19 +00:00
condition = "true";
runOnHover = 1;
};
class ACE_Torso {
displayName = ECSTRING(interaction,Torso);
distance = 5.0;
condition = "true";
runOnHover = 1;
exceptions[] = {"isNotInside", "isNotSitting"};
2016-09-29 20:08:36 +00:00
statement = QUOTE([ARR_3(_target, true, 1)] call EFUNC(medical_treatment,displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyAction));
2016-09-21 15:55:19 +00:00
showDisabled = 1;
priority = 2;
icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
};
class ACE_ArmLeft {
displayName = ECSTRING(interaction,ArmLeft);
runOnHover = 1;
exceptions[] = {"isNotInside", "isNotSitting"};
2016-09-29 20:08:36 +00:00
statement = QUOTE([ARR_3(_target, true, 2)] call EFUNC(medical_treatment,displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,2,_this select 3)] call FUNC(modifyAction));
2016-09-21 15:55:19 +00:00
condition = "true";
icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
};
class ACE_ArmRight {
displayName = ECSTRING(interaction,ArmRight);
runOnHover = 1;
exceptions[] = {"isNotInside", "isNotSitting"};
2016-09-29 20:08:36 +00:00
statement = QUOTE([ARR_3(_target, true, 3)] call EFUNC(medical_treatment,displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,3,_this select 3)] call FUNC(modifyAction));
2016-09-21 15:55:19 +00:00
condition = "true";
icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
};
class ACE_LegLeft {
displayName = ECSTRING(interaction,LegLeft);
runOnHover = 1;
exceptions[] = {"isNotInside", "isNotSitting"};
2016-09-29 20:08:36 +00:00
statement = QUOTE([ARR_3(_target, true, 4)] call EFUNC(medical_treatment,displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,4,_this select 3)] call FUNC(modifyAction));
2016-09-21 15:55:19 +00:00
condition = "true";
icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
};
class ACE_LegRight {
displayName = ECSTRING(interaction,LegRight);
runOnHover = 1;
exceptions[] = {"isNotInside", "isNotSitting"};
2016-09-29 20:08:36 +00:00
statement = QUOTE([ARR_3(_target, true, 5)] call EFUNC(medical_treatment,displayPatientInformation));
modifierFunction = QUOTE([ARR_4(_target,_player,5,_this select 3)] call FUNC(modifyAction));
2016-09-21 15:55:19 +00:00
condition = "true";
icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
};