ACE3/addons/vehicledamage/XEH_preInit.sqf
jaynus 91bd1e7c7b Added: Regex filtering for pbo index.
Changed: Logging cleanup, default files and paths.
Changed: initialization order of plugin (PRE-Init for vehicle registration).
2015-05-10 17:45:38 -07:00

36 lines
822 B
Plaintext

#include "script_component.hpp"
ADDON = false;
// Extension engine functions
PREP(initializeExtension);
PREP(monitorResultsPFH);
PREP(parseResult);
PREP(callExtension);
// This value is used for debug loading of the extension with dynload
GVAR(extensionLibrary) = "z\ace\extensions\build\vd\Debug\ace_vd.dll";
GVAR(async) = true;
GVAR(ready) = false;
// Core functionality
PREP(registerVehicleDamageHandler);
PREP(registerVehicleWithExtension);
PREP(unregisterWithExtension);
PREP(dispatchHitPart);
PREP(dispatchDamage);
PREP(doHit);
GVAR(vehicle_id) = 0;
FUNC(_textVector) = {
private["_str"];
_str = format["%1;%2;%3", ((_this select 0) select 0), ((_this select 0) select 1), ((_this select 0) select 2)];
_str
};
[] call FUNC(initializeExtension);
ADDON = true;