From 59a3e62d69117f09f2ffb8b71f5bfb4d62391ed3 Mon Sep 17 00:00:00 2001 From: ViperMaul Date: Sun, 2 Aug 2015 10:44:49 -0700 Subject: [PATCH] Attempt to improve the immersion of the magic --- addons/common/functions/fnc_headBugFix.sqf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/addons/common/functions/fnc_headBugFix.sqf b/addons/common/functions/fnc_headBugFix.sqf index 1126cd0b12..0d2860f3b0 100644 --- a/addons/common/functions/fnc_headBugFix.sqf +++ b/addons/common/functions/fnc_headBugFix.sqf @@ -23,15 +23,17 @@ _dir = getDir ACE_player; titleCut ["", "BLACK"]; // create invisible headbug fix vehicle -_ACE_HeadbugFix = createVehicle ["ACE_Headbug_Fix", getposATL ACE_player, [], 0, "NONE"]; +_ACE_HeadbugFix = createVehicle ["ACE_Headbug_Fix", [0,0,10000], [], 0, "NONE"]; _ACE_HeadbugFix setDir _dir; ACE_player moveInAny _ACE_HeadbugFix; -sleep 1.0; +_ACE_HeadbugFix setposATL _pos; +sleep 0.1; unassignVehicle ACE_player; ACE_player action ["Eject", vehicle ACE_player]; +ACE_player setDir _dir; +ACE_player setposATL _pos; sleep 1.0; deleteVehicle _ACE_HeadbugFix; -ACE_player setposATL _pos; -ACE_player setDir _dir; + titleCut ["", "PLAIN"]; true