Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
15 lines
313 B
15 lines
313 B
5 months ago
|
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
|
||
|
|