Repair - Improve some locations for interaction anims (#10224)

Improve some locations for interaction anims
This commit is contained in:
johnb432 2024-08-20 21:44:47 +02:00 committed by GitHub
parent c292f0ed31
commit 0643ca6fd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -434,7 +434,8 @@ class CfgVehicles {
class EGVAR(interaction,anims) {
class showTracks {
phase = 0;
positions[] = {{-1.7, -3.875, -0.7}, {1.7, -3.875, -0.7}};
selections[] = {"vhc_tracks"};
positions[] = {"private _pos = _target selectionPosition 'vhc_tracks'; _pos set [0, -(_pos select 0)]; _pos"}; // Mirror position to other side of vehicle
items[] = {"ACE_Track", "ACE_Track", "ACE_Track"};
name = CSTRING(RemoveTrack);
text = CSTRING(RemovingTrack);
@ -448,7 +449,7 @@ class CfgVehicles {
class Offroad_02_base_F: Car_F {
class EGVAR(interaction,anims) {
class hideSpareWheel {
selections[] = {"spare_wheel"};
positions[] = {"_target selectionPosition ['spare_wheel', 'ViewGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"};
name = CSTRING(RemoveWheel);
text = CSTRING(RemovingWheel);
@ -505,7 +506,7 @@ class CfgVehicles {
class Van_02_base_F: Truck_F {
class EGVAR(interaction,anims) {
class spare_tyre_hide {
positions[] = {"[[-1.2, -3.7, -0.4], [-0.45, -3.5, -0.4]] select (_target animationPhase 'Door_4_source' == 0)"};
positions[] = {"_target selectionPosition ['spare_tyre', 'ViewGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"};
name = CSTRING(RemoveWheel);
text = CSTRING(RemovingWheel);