enderalse/source/scripts/defaultonreadsetqueststage.psc

15 lines
313 B
Plaintext

Scriptname DefaultOnReadSetQuestStage extends ReferenceAlias
int Property myStage Auto
Quest Property myQuest Auto
; Fixed by the USKP adding the GetStageDone check to prevent repeated quests
event onRead()
if (myQuest.IsStageDone(myStage) == 0)
myQuest.SetCurrentStageID(myStage)
endif
endEvent