4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
746 B

Scriptname _00E_FS_NQR03_PlayerAlias extends ReferenceAlias Hidden
; _00E_FS_NQR03_NessahsHeart is tracked in _00E_FS_NQR03_HeartSC
event OnInit()
AddInventoryEventFilter(HumanHeart)
endevent
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
_00E_FS_NQR03_Functions rQuest = GetOwningQuest() as _00E_FS_NQR03_Functions
int iStage = rQuest.GetCurrentStageID()
if iStage < 90
return
endif
AddInventoryEventFilter(_00E_EmptyFormlist)
RemoveInventoryEventFilter(HumanHeart)
If iStage <= 95
rQuest.ClearPlayerAlias()
rQuest.SetObjectiveDisplayed(45, True)
endif
EndEvent
Ingredient Property HumanHeart Auto
FormList Property _00E_EmptyFormlist Auto