1
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.

25 lines
886 B

Scriptname _00E_FS_NQ05_MonarchScript extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If FS_NQ05.GetStage() == 35
If akNewContainer == PlayerREF
_00E_FS_NQ05_MothWingMonarchCountGlobal.SetValue(PlayerREF.GetItemCount(MothWingMonarch))
FS_NQ05.UpdateCurrentInstanceGlobal(_00E_FS_NQ05_MothWingMonarchCountGlobal)
FS_NQ05.SetObjectiveDisplayed(38, true, true)
ElseIf akOldContainer == PlayerREF
_00E_FS_NQ05_MothWingMonarchCountGlobal.SetValue(PlayerREF.GetItemCount(MothWingMonarch))
FS_NQ05.UpdateCurrentInstanceGlobal(_00E_FS_NQ05_MothWingMonarchCountGlobal)
FS_NQ05.SetObjectiveDisplayed(38, true, true)
EndIf
EndIf
EndEvent
Actor Property PlayerREF Auto
Quest Property FS_NQ05 Auto
GlobalVariable Property _00E_FS_NQ05_MothWingMonarchCountGlobal Auto
Ingredient Property MothWingMonarch Auto