mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add interaction support to Motorcycle class
This commit is contained in:
parent
5147f366a5
commit
c591c7af64
@ -355,6 +355,32 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
|
||||
class Motorcycle: LandVehicle {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 10;
|
||||
condition = "true";
|
||||
class ACE_Passengers {
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_SelfActions {
|
||||
class ACE_Passengers {
|
||||
displayName = CSTRING(Passengers);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Air;
|
||||
class Helicopter: Air {
|
||||
class ACE_Actions {
|
||||
|
@ -31,6 +31,12 @@ class Extended_InitPost_EventHandlers {
|
||||
serverInit = QUOTE(_this call DFUNC(addSpareParts));
|
||||
};
|
||||
};
|
||||
class Motorcycle {
|
||||
class ADDON {
|
||||
init = QUOTE(_this call DFUNC(addRepairActions));
|
||||
serverInit = QUOTE(_this call DFUNC(addSpareParts));
|
||||
};
|
||||
};
|
||||
class Helicopter {
|
||||
class ADDON {
|
||||
init = QUOTE(_this call DFUNC(addRepairActions));
|
||||
|
@ -290,6 +290,10 @@ class CfgVehicles {
|
||||
MACRO_REPAIRVEHICLE
|
||||
};
|
||||
|
||||
class Motorcycle: LandVehicle {
|
||||
MACRO_REPAIRVEHICLE
|
||||
};
|
||||
|
||||
class Air;
|
||||
class Helicopter: Air {
|
||||
MACRO_REPAIRVEHICLE
|
||||
|
Loading…
Reference in New Issue
Block a user