2015-05-09 20:32:36 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
|
|
|
// Core engine functions
|
2015-05-10 16:51:16 +00:00
|
|
|
PREP(initializeExtension);
|
2015-05-09 20:32:36 +00:00
|
|
|
PREP(monitorResultsPFH);
|
2015-05-10 16:51:16 +00:00
|
|
|
PREP(parseResult);
|
2015-05-09 20:32:36 +00:00
|
|
|
|
|
|
|
PREP(registerVehicleDamageHandler);
|
|
|
|
PREP(registerVehicleWithExtension);
|
|
|
|
PREP(unregisterWithExtension);
|
|
|
|
|
|
|
|
PREP(dispatchHitPart);
|
|
|
|
PREP(dispatchDamage);
|
|
|
|
PREP(doHit);
|
|
|
|
|
|
|
|
// Unique local vehicle ID
|
2015-05-10 17:11:30 +00:00
|
|
|
GVAR(extensionLibrary) = "z\ace\ace_vd.dll";
|
2015-05-09 20:32:36 +00:00
|
|
|
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;
|