rcoll Posted February 4, 2016 Share Posted February 4, 2016 Hi this script I am working on is designed to work alongside the calm effect in vanilla but I have run into a problem...Scriptname MyDontReportCrimeScript extends ActiveMagicEffect Faction Property CalmFaction Auto Faction OCF Event OnEffectStart(Actor akTarget, Actor akCaster) OCF = akTarget.GetCrimeFaction() akTarget.addtofaction(CalmFaction) akCaster.addtofaction(CalmFaction) akTarget.SetCrimeFaction(CalmFaction) EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) akTarget.SetCrimeFaction(OCF) akTarget.removefromfaction(CalmFaction) akCaster.removefromfaction(CalmFaction) akTarget.StopCombatAlarm() EndEvent You see what happens is that last line "akTarget.StopCombatAlarm()" causes a ctd. I am unsure exactly why this happens and would appreciate any help. Link to comment Share on other sites More sharing options...
BangBangYouAreDead Posted June 15, 2016 Share Posted June 15, 2016 I know this is late, but have you tried calling StopCombat() first and then StopCombatAlarms()? Link to comment Share on other sites More sharing options...
Recommended Posts