diff --git a/README.md b/README.md
index 146784e36b..5a01e5d5de 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,9 @@
-
+
-
+
diff --git a/ace_medical.dll b/ace_medical.dll
index 790154d4c4..c54febf34f 100644
Binary files a/ace_medical.dll and b/ace_medical.dll differ
diff --git a/addons/backpacks/XEH_postInit.sqf b/addons/backpacks/XEH_postInit.sqf
index 639bf74919..375fcd5f89 100644
--- a/addons/backpacks/XEH_postInit.sqf
+++ b/addons/backpacks/XEH_postInit.sqf
@@ -1,3 +1,3 @@
#include "script_component.hpp"
-["backpackOpened", DFUNC(backpackOpened)] call EFUNC(common,addEventHandler);
+["backpackOpened", {_this call FUNC(backpackOpened)}] call EFUNC(common,addEventHandler);
diff --git a/addons/backpacks/functions/fnc_backpackOpened.sqf b/addons/backpacks/functions/fnc_backpackOpened.sqf
index 9488bf6bd9..4e61e8fbcc 100644
--- a/addons/backpacks/functions/fnc_backpackOpened.sqf
+++ b/addons/backpacks/functions/fnc_backpackOpened.sqf
@@ -1,18 +1,19 @@
/*
* Author: commy2
+ * Someone opened your backpack. Play sound and camshake. Execute locally.
*
- * Someone opened your backpack. Execute locally.
- *
- * Argument:
+ * Arguments:
* 0: Who accessed your inventory? (Object)
* 1: Unit that wields the backpack (Object)
* 2: The backpack object (Object)
*
- * Return value:
- * None.
+ * Return Value:
+ * None
+ *
+ * Public: No
*/
#include "script_component.hpp"
-private ["_sounds", "_position"];
+
params ["_target", "_backpack"];
// do cam shake if the target is the player
@@ -20,7 +21,8 @@ if ([_target] call EFUNC(common,isPlayer)) then {
addCamShake [4, 0.5, 5];
};
-// play a rustling sound
+// play a zipper sound effect
+private ["_sounds", "_position"];
_sounds = [
/*"a3\sounds_f\characters\ingame\AinvPknlMstpSlayWpstDnon_medic.wss",
@@ -32,8 +34,7 @@ _sounds = [
QUOTE(PATHTO_R(sounds\zip_out.wav))
];
-_position = _target modelToWorldVisual (_target selectionPosition "Spine3");
-_position = _position call EFUNC(common,positionToASL);
+_position = AGLToASL (_target modelToWorldVisual (_target selectionPosition "Spine3"));
playSound3D [
_sounds select floor random count _sounds,
diff --git a/addons/backpacks/functions/fnc_isBackpack.sqf b/addons/backpacks/functions/fnc_isBackpack.sqf
index 3419d2ed38..fab82c505f 100644
--- a/addons/backpacks/functions/fnc_isBackpack.sqf
+++ b/addons/backpacks/functions/fnc_isBackpack.sqf
@@ -1,23 +1,24 @@
/*
* Author: commy2
+ * Check if the given backpack is an actual backpack that can store items. Parachute, static weapon packs, etc. will return false.
*
- * Check if the given backpack is an actual backpack that can store items. Parachute backpacks will return false for example.
+ * Arguments:
+ * 0: Backpack