mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
36e48554c2
Add interaction support to Motorcycle class
56 lines
1.4 KiB
C++
56 lines
1.4 KiB
C++
|
|
class Extended_PreStart_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
|
};
|
|
};
|
|
|
|
class Extended_PreInit_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
|
};
|
|
};
|
|
|
|
class Extended_PostInit_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
|
};
|
|
};
|
|
|
|
//Need initPost or we have problems with setVariable with addSpareParts
|
|
class Extended_InitPost_EventHandlers {
|
|
class Car {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(addRepairActions));
|
|
serverInit = QUOTE([ARR_3(_this select 0,1,'ACE_Wheel')] call DFUNC(addSpareParts));
|
|
};
|
|
};
|
|
class Tank {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(addRepairActions));
|
|
serverInit = QUOTE([ARR_3(_this select 0,1,'ACE_Track')] call DFUNC(addSpareParts));
|
|
};
|
|
};
|
|
class Motorcycle {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(addRepairActions));
|
|
};
|
|
};
|
|
class Helicopter {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(addRepairActions));
|
|
exclude[] = {QEGVAR(fastroping,helper), "ACE_friesBase"};
|
|
};
|
|
};
|
|
class Plane {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(addRepairActions));
|
|
};
|
|
};
|
|
class Ship_F {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(addRepairActions));
|
|
};
|
|
};
|
|
};
|