mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
695 B
C++
23 lines
695 B
C++
|
|
||
|
class CfgVehicles {
|
||
|
class Man;
|
||
|
class CAManBase: Man {
|
||
|
class ACE_SelfActions {
|
||
|
};
|
||
|
|
||
|
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"};
|
||
|
condition = QUOTE(GVAR(allow) && GVAR(useMenu));
|
||
|
statement = QUOTE([_target] call DFUNC(openMenu));
|
||
|
icon = PATHTOEF(medical,UI\icons\medical_cross.paa);
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|