enderalse/scripts/source/_00e_completeobjective.psc

19 lines
372 B
Plaintext
Raw Normal View History

Scriptname _00E_CompleteObjective extends ObjectReference
Quest Property QuestID Auto
int Property ObjectiveToComplete Auto
int Property ObjectiveToDisplay Auto
int doOnce
Event OnActivate(ObjectReference akActionRef)
if doOnce == 0
QuestID.SetObjectiveCompleted(ObjectiveToComplete)
QuestID.SetObjectiveDisplayed(ObjectiveToDisplay)
doOnce = 1
endif
EndEvent