ACE3/addons/vehicledamage/XEH_preInit.sqf

29 lines
620 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
ADDON = false;
// Core engine functions
PREP(initializeExtension);
PREP(monitorResultsPFH);
PREP(parseResult);
PREP(registerVehicleDamageHandler);
PREP(registerVehicleWithExtension);
PREP(unregisterWithExtension);
PREP(dispatchHitPart);
PREP(dispatchDamage);
PREP(doHit);
// Unique local vehicle ID
GVAR(extensionLibrary) = "z\ace\ace_vd.dll";
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
};
ADDON = true;