ACE3/addons/vehicledamage/XEH_preInit.sqf
jaynus fdf0ff2d24 Added: Result parsing, ext->sqf dispatch to localEvents
Fixed: Bullet build
Fixed: results are all 0=true, -1=failure, otherwise its a dispatch message.
2015-05-10 09:51:16 -07:00

28 lines
574 B
Plaintext

#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(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;