From c573b1048d8a4ec28b692fbd29755995dc548027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Wed, 11 Mar 2015 00:38:31 -0300 Subject: [PATCH] Made medical diagnosis statements run on hover --- addons/medical/CfgVehicles.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/medical/CfgVehicles.hpp b/addons/medical/CfgVehicles.hpp index 2d0a9bd0a3..a15167f820 100644 --- a/addons/medical/CfgVehicles.hpp +++ b/addons/medical/CfgVehicles.hpp @@ -347,6 +347,7 @@ class CfgVehicles { class ACE_Actions { class ACE_Head { + runOnHover = 1; statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation)); class Bandage_Head { @@ -406,6 +407,7 @@ class CfgVehicles { displayName = "Medical"; distance = 5.0; condition = "true"; + runOnHover = 1; statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation)); showDisabled = 1; priority = 2; @@ -481,6 +483,7 @@ class CfgVehicles { }; }; class ACE_ArmLeft { + runOnHover = 1; statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation)); class Bandage_LeftArm { @@ -602,6 +605,7 @@ class CfgVehicles { }; }; class ACE_ArmRight { + runOnHover = 1; statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation)); class Bandage_RightArm { displayName = "Bandage Right Arm"; @@ -723,6 +727,7 @@ class CfgVehicles { }; class ACE_LegLeft { + runOnHover = 1; statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation)); class Bandage_LeftLeg { displayName = "Bandage Left Leg"; @@ -834,6 +839,7 @@ class CfgVehicles { }; }; class ACE_LegRight { + runOnHover = 1; statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation)); class Bandage_RightLeg { displayName = "Bandage Right Leg";