From 61c6ba3c6b9a3f5bed69eef5b534fa62fe03d09e Mon Sep 17 00:00:00 2001 From: Bethea Date: Fri, 6 Sep 2024 20:22:12 -0500 Subject: [PATCH 1/4] Update fn_vehicle_addFunctions.sqf Fixed call to function. --- cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf index 9ecfdd777..cf78177d7 100644 --- a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf +++ b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf @@ -68,19 +68,19 @@ if (_vehicle iskindOf "Heli_Transport_02_base_F") then { }; if (_vehicle iskindOf "RHS_C130J_Base") then { - [_vehicle,nil,nil,true] call FUNC(addLineJump); + [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); [_vehicle,nil,nil,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C130J") then { - [_vehicle,nil,nil,true] call FUNC(addLineJump); + [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); [_vehicle,nil,nil,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C17") then { - [_vehicle,nil,nil,true] call FUNC(addLineJump); + [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); [_vehicle,nil,nil,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; @@ -115,4 +115,4 @@ if (_vehicle iskindOf "cav_dragoon_base_F") then { if (_vehicle iskindOf "AFV_Wheeled_01_base_F") then { [_vehicle] call EFUNC(vehicle,addFlagAction); -}; \ No newline at end of file +}; From bd50668024b47e12f26aaa260aa88791c9662a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Sat, 7 Sep 2024 09:18:28 +0200 Subject: [PATCH 2/4] Swapped the values around --- .../functions/vehicle/fn_vehicle_addFunctions.sqf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf index cf78177d7..fe94cced4 100644 --- a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf +++ b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf @@ -68,20 +68,20 @@ if (_vehicle iskindOf "Heli_Transport_02_base_F") then { }; if (_vehicle iskindOf "RHS_C130J_Base") then { - [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); - [_vehicle,nil,nil,nil,nil,true] call FUNC(addHaloJump); + [_vehicle, nil, nil, nil, nil, true]] call FUNC(addLineJump); + [_vehicle, nil, nil, true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C130J") then { - [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); - [_vehicle,nil,nil,nil,nil,true] call FUNC(addHaloJump); + [_vehicle, nil, nil, nil, nil, true]] call FUNC(addLineJump); + [_vehicle, nil, nil, true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C17") then { - [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); - [_vehicle,nil,nil,nil,nil,true] call FUNC(addHaloJump); + [_vehicle, nil, nil, nil, nil, true]] call FUNC(addLineJump); + [_vehicle, nil, nil, true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; From d90f9c322ddd64ad47aaf21621f3f5508b6511a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Sat, 7 Sep 2024 09:19:15 +0200 Subject: [PATCH 3/4] Removed spacing --- .../functions/vehicle/fn_vehicle_addFunctions.sqf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf index fe94cced4..ac04fbd48 100644 --- a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf +++ b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf @@ -68,20 +68,20 @@ if (_vehicle iskindOf "Heli_Transport_02_base_F") then { }; if (_vehicle iskindOf "RHS_C130J_Base") then { - [_vehicle, nil, nil, nil, nil, true]] call FUNC(addLineJump); - [_vehicle, nil, nil, true] call FUNC(addHaloJump); + [_vehicle,nil,nil,nil,nil,true]] call FUNC(addLineJump); + [_vehicle,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C130J") then { - [_vehicle, nil, nil, nil, nil, true]] call FUNC(addLineJump); - [_vehicle, nil, nil, true] call FUNC(addHaloJump); + [_vehicle,nil,nil,nil,nil,true]] call FUNC(addLineJump); + [_vehicle,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C17") then { - [_vehicle, nil, nil, nil, nil, true]] call FUNC(addLineJump); - [_vehicle, nil, nil, true] call FUNC(addHaloJump); + [_vehicle,nil,nil,nil,nil,true]] call FUNC(addLineJump); + [_vehicle,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; From 3effe69ee00d2d7d90cff6a6842ba08fdb1ada07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Sat, 7 Sep 2024 09:21:00 +0200 Subject: [PATCH 4/4] Dont script when you have not drinken coffie --- cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf index ac04fbd48..462b7409f 100644 --- a/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf +++ b/cScripts/functions/vehicle/fn_vehicle_addFunctions.sqf @@ -68,19 +68,19 @@ if (_vehicle iskindOf "Heli_Transport_02_base_F") then { }; if (_vehicle iskindOf "RHS_C130J_Base") then { - [_vehicle,nil,nil,nil,nil,true]] call FUNC(addLineJump); + [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); [_vehicle,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C130J") then { - [_vehicle,nil,nil,nil,nil,true]] call FUNC(addLineJump); + [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); [_vehicle,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); }; if (_vehicle iskindOf "USAF_C17") then { - [_vehicle,nil,nil,nil,nil,true]] call FUNC(addLineJump); + [_vehicle,nil,nil,nil,nil,true] call FUNC(addLineJump); [_vehicle,nil,nil,true] call FUNC(addHaloJump); [_vehicle] call FUNC(addEscapeWreck); };