enderalse/scripts/source/_00e_nq19_pickupitemsc.psc

19 lines
465 B
Plaintext

Scriptname _00E_NQ19_PickUpItemSC extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If akNewContainer == Game.GetPlayer() && !bDone
bDone = True
NQ19.SetObjectiveCompleted(iQuestObjectiveIndex)
NQ19.SetObjectiveDisplayed(iQuestObjectiveReturnIndex)
EndIf
endEvent
bool bDone
int Property iQuestObjectiveIndex Auto
int Property iQuestObjectiveReturnIndex Auto
Quest Property NQ19 Auto