From c292f0ed313afe8896a55391b9841b8232ea43d6 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:44:33 +0200 Subject: [PATCH] Interaction - Improve interaction anims locations for bags (#10230) Improve interaction anims locations --- addons/interaction/CfgVehicles.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/interaction/CfgVehicles.hpp b/addons/interaction/CfgVehicles.hpp index b3a0c1d37e..e3663cdee8 100644 --- a/addons/interaction/CfgVehicles.hpp +++ b/addons/interaction/CfgVehicles.hpp @@ -439,7 +439,7 @@ class CfgVehicles { class GVAR(anims): GVAR(anims) { class showBags { phase = 0; - selections[] = {"vhc_bags"}; + positions[] = {"_target selectionPosition ['vhc_bags', 'FireGeometry', 'AveragePoint']"}; items[] = {"B_Carryall_cbr"}; name = "$STR_BACKPACK_CONTAINER_NAME"; text = "$STR_BACKPACK_CONTAINER_NAME"; @@ -450,7 +450,7 @@ class CfgVehicles { class GVAR(anims) { class showBags { phase = 0; - selections[] = {"vhc_bags"}; + positions[] = {"_target selectionPosition ['vhc_bags', 'FireGeometry', 'AveragePoint']"}; items[] = {"B_Carryall_cbr", "B_Carryall_cbr"}; name = "$STR_a3_cfgvehicleclasses_backpacks0"; text = "$STR_a3_cfgvehicleclasses_backpacks0"; @@ -490,13 +490,13 @@ class CfgVehicles { class GVAR(anims) { class showBags { phase = 0; - selections[] = {"vhc_bags"}; + positions[] = {"_target selectionPosition ['vhc_bags', 'FireGeometry', 'AveragePoint']"}; items[] = {"B_Carryall_cbr"}; name = "$STR_BACKPACK_CONTAINER_NAME"; text = "$STR_BACKPACK_CONTAINER_NAME"; }; class showBags2: showBags { - selections[] = {"vhc_bags2"}; + positions[] = {"_target selectionPosition ['vhc_bags2', 'FireGeometry', 'AveragePoint']"}; }; }; };