TangerineDog Posted January 4, 2018 Share Posted January 4, 2018 (edited) I'm trying to make the Nirnroot drop a misc item, so I changed the Nirnroot activator script to this: Scriptname NirnrootMiscItemACTIVATORScript extends ObjectReference Hidden{Script to only be applied to the NirnrootACTIVATOR base object.}MiscObject Property NirnrootMiscItem AutoMessage Property HarvestNirnrootMESSAGE AutoActivator Property NirnrootGlowACTIVATOR AutoActivator Property NirnrootEmptyACTIVATOR AutoObjectReference Property NirnrootGlowReference Auto HiddenObjectReference Property NirnrootEmptyReference Auto HiddenObjectReference Property EmptyRef Auto HiddenBool Property HasBeenLoaded Auto HiddenFloat NirnScaleEVENT OnCellAttach()if (self.IsDisabled() == FALSE)NirnrootGlowReference = PlaceAtMe(NirnRootGlowACTIVATOR)NirnrootEmptyReference = PlaceAtMe(NirnRootEmptyACTIVATOR)NirnrootEmptyReference.DisableNoWait()endifendEVENTEVENT OnReset()if (self.IsDisabled() == TRUE)self.Enable()GoToState("WaitingForHarvest")endifendEVENTAuto STATE WaitingForHarvestEVENT onActivate(ObjectReference TriggerRef)GoToState("AlreadyHarvested")Nirnscale = Self.GetScale()NirnrootEmptyReference.SetScale(Nirnscale)NirnrootEmptyReference.EnableNoWait()(TriggerRef as Actor).additem(NirnrootMiscItem, 1)Game.IncrementStat( "Nirnroots Found" )NirnRootGlowReference.DisableNoWait()NirnRootGlowReference.Delete()self.DisableNoWait()endEVENTendSTATESTATE AlreadyHarvestedendSTATE Only now, even with no other mods loaded, it drops the misc item AND the Nirnroot ingredient! Why? Edit: Even when I remove all scripts from the Nirnroot, it still drops the ingredient. Something is still influencing the thing, but what? Edited January 4, 2018 by TangerineDog Link to comment Share on other sites More sharing options...
Recommended Posts