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.
27 lines
819 B
27 lines
819 B
4 months ago
|
ScriptName GA_00E_DuestersteinHQMSCPT01 Extends ObjectReference
|
||
|
|
||
|
;-- Variables ---------------------------------------
|
||
|
|
||
|
;-- Properties --------------------------------------
|
||
|
Quest Property CurrentQuest Auto
|
||
|
Int Property QuestNext = 0 Auto
|
||
|
|
||
|
;-- Functions ---------------------------------------
|
||
|
|
||
|
; Skipped compiler generated GetState
|
||
|
|
||
|
; Skipped compiler generated GotoState
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
Int QuestStage = CurrentQuest.GetStage()
|
||
|
Debug.Notification(QuestStage as String + " Alte Queststage")
|
||
|
If QuestNext == 0 && (akActionRef == Game.GetPlayer() as ObjectReference)
|
||
|
If QuestStage == 10
|
||
|
CurrentQuest.SetStage(20)
|
||
|
CurrentQuest.SetObjectiveCompleted(10, True)
|
||
|
CurrentQuest.SetObjectiveDisplayed(20, True, True)
|
||
|
QuestNext = -1
|
||
|
EndIf
|
||
|
EndIf
|
||
|
EndEvent
|