2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_QuestStartTrigger extends ObjectReference
|
|
|
|
Quest Property StartQuest Auto
|
|
|
|
int DoOnce
|
|
|
|
bool Property SetStage Auto
|
|
|
|
int Property DesiredStage Auto
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if(akActionRef == Game.GetPlayer())
|
|
|
|
if ( DoOnce == 0 )
|
|
|
|
StartQuest.Start()
|
|
|
|
;Debug.Notification("Quest gestartet.")
|
|
|
|
DoOnce = 1
|
|
|
|
if SetStage == true
|
2024-01-10 14:08:24 +00:00
|
|
|
StartQuest.SetCurrentStageID(DesiredStage)
|
2021-10-05 22:15:58 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
EndEvent
|