enderalse/source/scripts/_00e_nq06triggerscn.psc

26 lines
507 B
Plaintext

Scriptname _00E_NQ06TriggerSCN extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer()
if NQ06.GetStage() == 15
NQ06.SetStage(20)
endif
elseif akActionRef == Yrinto
YrintoTriggered = true
endif
EndEvent
Event OnTriggerLeave(ObjectReference akAktionRef)
if akAktionRef == Yrinto
YrintoTriggered = false
endif
EndEvent
Quest Property NQ06 Auto
ObjectReference Property Yrinto Auto
Scene Property NQ06_SC1 Auto
Bool YrintoTriggered