enderalse/source/scripts/_00e_setobjectiveondropitem.psc

14 lines
397 B
Plaintext
Raw Normal View History

Scriptname _00E_SetObjectiveOnDropItem extends ObjectReference
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
if DoOnce == false && akSourceContainer == Game.GetPlayer()
QuestToSet.SetObjectiveDisplayed(ObjectiveIDToSet)
EndIf
EndEvent
Bool DoOnce
Quest Property QuestToSet Auto
Int Property ObjectiveIDToSet Auto