Spoiler
Scriptname FFM_Doomstone_Enable extends ObjectReference;Check to see if player has discovered doomstones and if so enables them for use in the houseObjectReference Property DStoneMarker01 AutoObjectReference Property DStoneMarker02 AutoObjectReference Property DStoneMarker03 AutoObjectReference Property DStoneMarker04 AutoObjectReference Property DStoneMarker05 AutoObjectReference Property DStoneMarker06 AutoObjectReference Property DStoneMarker07 AutoObjectReference Property DStoneMarker08 AutoObjectReference Property DStoneMarker09 AutoObjectReference Property DStoneMarker10 AutoObjectReference Property DStoneMarker11 AutoObjectReference Property FTMarker01 AutoObjectReference Property FTMarker02 AutoObjectReference Property FTMarker03 AutoObjectReference Property FTMarker04 AutoObjectReference Property FTMarker05 AutoObjectReference Property FTMarker06 AutoObjectReference Property FTMarker07 AutoObjectReference Property FTMarker08 AutoObjectReference Property FTMarker09 AutoObjectReference Property FTMarker10 AutoObjectReference Property FTMarker11 AutoEvent OnTriggerEnter(ObjectReference akActionRef);When player enters trigger zone, checks to see if any of the stones are disabled and if they are and the player can fast travel to them, it enables in-house stones. bool canFastTravel = FTMarker01.CanFastTravelToMarker()bool canFastTravel01 = FTMarker01.CanFastTravelToMarker()bool canFastTravel02 = FTMarker02.CanFastTravelToMarker()bool canFastTravel03 = FTMarker03.CanFastTravelToMarker()bool canFastTravel04 = FTMarker04.CanFastTravelToMarker()bool canFastTravel05 = FTMarker05.CanFastTravelToMarker()bool canFastTravel06 = FTMarker06.CanFastTravelToMarker()bool canFastTravel07 = FTMarker07.CanFastTravelToMarker()bool canFastTravel08 = FTMarker08.CanFastTravelToMarker()bool canFastTravel09 = FTMarker09.CanFastTravelToMarker()bool canFastTravel10 = FTMarker10.CanFastTravelToMarker()bool canFastTravel11 = FTMarker11.CanFastTravelToMarker() If (DStoneMarker01.IsDisabled()) if canFastTravel01 == true DStoneMarker01.Enable() endif endif If (DStoneMarker02.IsDisabled()) if canFastTravel02 == true DStoneMarker02.Enable() endif endif If (DStoneMarker03.IsDisabled()) if canFastTravel03 == true DStoneMarker03.Enable() endif endif If (DStoneMarker04.IsDisabled()) if canFastTravel04 == true DStoneMarker04.Enable() endif endif If (DStoneMarker05.IsDisabled()) if canFastTravel05 == true DStoneMarker05.Enable() endif endif If (DStoneMarker06.IsDisabled()) if canFastTravel06 == true DStoneMarker06.Enable() endif endif If (DStoneMarker07.IsDisabled()) if canFastTravel07 == true DStoneMarker07.Enable() endif endif If (DStoneMarker08.IsDisabled()) if canFastTravel08 == true DStoneMarker08.Enable() endif endif If (DStoneMarker09.IsDisabled()) if canFastTravel09 == true DStoneMarker09.Enable() endif endif If (DStoneMarker10.IsDisabled()) if canFastTravel10 == true DStoneMarker10.Enable() endif endif If (DStoneMarker11.IsDisabled()) if canFastTravel11 == true DStoneMarker11.Enable() endif endifEndEvent
