2015-08-07 18:15:09 +00:00
|
|
|
|
|
|
|
class CfgVehicles {
|
2015-08-08 18:22:19 +00:00
|
|
|
|
|
|
|
class ACE_Module;
|
2015-08-09 01:27:56 +00:00
|
|
|
class ACE_moduleMedicalMenuSettings: ACE_Module {
|
2015-08-08 18:22:19 +00:00
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(module_DisplayName);
|
|
|
|
icon = QUOTE(PATHTOEF(medical,UI\Icon_Module_Medical_ca.paa));
|
|
|
|
category = "ACE_medical";
|
|
|
|
function = QUOTE(DFUNC(module));
|
|
|
|
functionPriority = 1;
|
2015-08-09 01:27:56 +00:00
|
|
|
isGlobal = 0;
|
2015-10-19 04:34:11 +00:00
|
|
|
isSingular = 1;
|
2015-08-08 18:22:19 +00:00
|
|
|
isTriggerActivated = 0;
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
class Arguments {
|
|
|
|
class allow {
|
|
|
|
displayName = CSTRING(allow);
|
|
|
|
description = CSTRING(allow_Descr);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class disable {
|
|
|
|
name = ECSTRING(common,Disabled);
|
|
|
|
value = 0;
|
|
|
|
};
|
|
|
|
class enable {
|
|
|
|
name = ECSTRING(common,Enabled);
|
|
|
|
value = 1;
|
|
|
|
default = 1;
|
|
|
|
};
|
|
|
|
class VehiclesOnly {
|
|
|
|
name = ECSTRING(common,VehiclesOnly);
|
|
|
|
value = 2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription {
|
|
|
|
description = CSTRING(module_Desc);
|
|
|
|
sync[] = {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-08-07 18:15:09 +00:00
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
2015-08-08 18:22:19 +00:00
|
|
|
class Medical_Menu {
|
|
|
|
displayName = CSTRING(OpenMenu);
|
|
|
|
runOnHover = 0;
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
condition = QUOTE([ARR_2(ACE_player,_target)] call FUNC(canOpenMenu));
|
|
|
|
statement = QUOTE([_target] call DFUNC(openMenu));
|
|
|
|
icon = PATHTOEF(medical,UI\icons\medical_cross.paa);
|
|
|
|
};
|
2015-08-07 18:15:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Actions {
|
|
|
|
// Create a consolidates medical menu for treatment while boarded
|
|
|
|
class ACE_MainActions {
|
|
|
|
class Medical_Menu {
|
|
|
|
displayName = CSTRING(OpenMenu);
|
|
|
|
runOnHover = 0;
|
|
|
|
exceptions[] = {"isNotInside"};
|
2015-08-08 18:22:19 +00:00
|
|
|
condition = QUOTE([ARR_2(ACE_player,_target)] call FUNC(canOpenMenu));
|
2015-08-07 18:15:09 +00:00
|
|
|
statement = QUOTE([_target] call DFUNC(openMenu));
|
|
|
|
icon = PATHTOEF(medical,UI\icons\medical_cross.paa);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|