1
Fork 0
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.
 
 
 

19 lines
445 B

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
StartQuest.SetStage(DesiredStage)
endif
endif
endif
EndEvent