From fe1e6d45cb9526c1786894134cde1440cfeda37e Mon Sep 17 00:00:00 2001 From: Brandon Danyluk Date: Fri, 16 Apr 2021 19:02:03 -0600 Subject: [PATCH] update dragon to not use new guidance --- addons/dragon/CfgAmmo.hpp | 3 +++ addons/missileguidance/functions/fnc_onFired.sqf | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/dragon/CfgAmmo.hpp b/addons/dragon/CfgAmmo.hpp index 929ba6f14c..d762da125b 100644 --- a/addons/dragon/CfgAmmo.hpp +++ b/addons/dragon/CfgAmmo.hpp @@ -82,6 +82,9 @@ class CfgAmmo { class ace_missileguidance { enabled = 1; + pitchRate = 0; + yawRate = 0; + // Guidance type for munitions defaultSeekerType = "SACLOS"; seekerTypes[] = { "SACLOS" }; diff --git a/addons/missileguidance/functions/fnc_onFired.sqf b/addons/missileguidance/functions/fnc_onFired.sqf index 47da733638..482ea78c46 100644 --- a/addons/missileguidance/functions/fnc_onFired.sqf +++ b/addons/missileguidance/functions/fnc_onFired.sqf @@ -91,7 +91,6 @@ if (isNil "_target") then { }; }; }; -systemChat str _target; _targetPos = getPosASLVisual _target; // Array for seek last target position