mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fea2326488
- Add a ace_cargo_space attribute to vehicles to alter how much cargo they can carry. - Add an ace_cargo_size attribute to objects to alter how much cargo space they consume. - Add two public functions `fnc_setSize.sqf` and `fnc_setSpace.sqf` to update the cargo size/space respectively of any given object. - Deprecate cargo makeLoadable module and public function. - Added some macros to get the space/size of a config, making code more readable in places.
27 lines
530 B
C++
27 lines
530 B
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));
|
|
};
|
|
};
|
|
|
|
class Extended_Killed_EventHandlers {
|
|
class All {
|
|
class ADDON {
|
|
serverKilled = QUOTE(call FUNC(handleDestroyed));
|
|
};
|
|
};
|
|
};
|