mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
staged bodybag fixes
This commit is contained in:
parent
661d93e82c
commit
ce4cdd3722
@ -17,9 +17,9 @@ class Extended_Init_EventHandlers {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_init));
|
||||
};
|
||||
};
|
||||
class ACE_bodyBag {
|
||||
class ACE_bodyBagObject {
|
||||
class ADDON {
|
||||
init = QUOTE(_this call EDFUNC(dragging,initObject));
|
||||
init = QUOTE(_this call DEFUNC(dragging,initObject));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -613,7 +613,8 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
class MapBoard_altis_F;
|
||||
class ACE_bodyBag: MapBoard_altis_F {
|
||||
class ACE_bodyBagObject: MapBoard_altis_F {
|
||||
XEH_ENABLED;
|
||||
scope = 1;
|
||||
side = -1;
|
||||
model = QUOTE(PATHTOF(data\bodybag.p3d));
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {"ACE_medicalSupplyCrate", "ACE_fieldDressingItem", "ACE_packingBandageItem", "ACE_elasticBandageItem", "ACE_tourniquetItem", "ACE_morphineItem", "ACE_atropineItem", "ACE_epinephrineItem", "ACE_plasmaIVItem", "ACE_bloodIVItem", "ACE_salineIVItem", "ACE_quikclotItem", "ACE_personalAidKitItem", "ACE_surgicalKitItem", "ACE_bodyBagItem"};
|
||||
units[] = {"ACE_medicalSupplyCrate", "ACE_fieldDressingItem", "ACE_packingBandageItem", "ACE_elasticBandageItem", "ACE_tourniquetItem", "ACE_morphineItem", "ACE_atropineItem", "ACE_epinephrineItem", "ACE_plasmaIVItem", "ACE_bloodIVItem", "ACE_salineIVItem", "ACE_quikclotItem", "ACE_personalAidKitItem", "ACE_surgicalKitItem", "ACE_bodyBagItem", "ACE_bodyBagObject"};
|
||||
weapons[] = {"ACE_fieldDressing", "ACE_packingBandage", "ACE_elasticBandage", "ACE_tourniquet", "ACE_morphine", "ACE_atropine", "ACE_epinephrine", "ACE_plasmaIV", "ACE_plasmaIV_500", "ACE_plasmaIV_250", "ACE_bloodIV", "ACE_bloodIV_500", "ACE_bloodIV_250", "ACE_salineIV", "ACE_salineIV_500", "ACE_salineIV_250", "ACE_quikclot", "ACE_personalAidKit", "ACE_surgicalKit", "ACE_bodyBag"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {ace_common, ace_interaction, ace_modules};
|
||||
|
@ -24,7 +24,7 @@ if (alive _target) then {
|
||||
};
|
||||
_onPosition = getPos _target;
|
||||
deleteVehicle _target;
|
||||
_bodyBagCreated = createVehicle ["ACE_bodyBag", _onPosition, [], 0, "NONE"];
|
||||
_bodyBagCreated = createVehicle ["ACE_bodyBagObject", _onPosition, [], 0, "NONE"];
|
||||
// reset the position to ensure it is on the correct one.
|
||||
_bodyBagCreated setPos [_onPosition select 0, _onPosition select 1, (_onPosition select 2) + 0.2];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user