Skip to content

Commit a8e6071

Browse files
authored
Explosives - Change deadman explosives location (#11402)
Attach deadman explosives to unit
1 parent cd44454 commit a8e6071

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addons/explosives/functions/fnc_onIncapacitated.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if (isText (_magazineTrigger >> "ammo")) then {
5555
};
5656

5757
private _explosive = _ammo createVehicle [0, 0, 0];
58-
_explosive setPosASL (getPosASL _unit);
58+
_explosive attachTo [_unit, [0, 0.15, 0.15], "Pelvis"];
5959

6060
// Explode, ignoring range, with a 0.5 second delay
6161
[_unit, -1, [_explosive, 0.5], "ACE_DeadManSwitch"] call FUNC(detonateExplosive);

0 commit comments

Comments
 (0)