40 lines
783 B
Plaintext
40 lines
783 B
Plaintext
Scriptname _00E_NQ12_FailsaveSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if akActionRef == PlayerREF && !bDone
|
|
|
|
if NQ12.GetStage() >= 40
|
|
|
|
bDone = True
|
|
|
|
if MilbertRef.GetDistance(PlayerREF) >= 2000
|
|
MilbertRef.MoveTo(NQ12SeehaimMilbertMarker)
|
|
EndIf
|
|
|
|
if NQ12_SilaREF.GetDistance(PlayerREF) >= 2000
|
|
NQ12_SilaREF.MoveTo(NQ12SeehaimSilaMarker)
|
|
EndIf
|
|
|
|
if !NQ12_SC1.IsPlaying()
|
|
NQ12_SC1.ForceStart()
|
|
EndIf
|
|
|
|
EndIf
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
bool bDone
|
|
|
|
|
|
Quest Property NQ12 Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
Actor Property MilbertRef Auto
|
|
Actor Property NQ12_SilaREF Auto
|
|
|
|
ObjectReference Property NQ12SeehaimMilbertMarker Auto
|
|
ObjectReference Property NQ12SeehaimSilaMarker Auto
|
|
|
|
Scene Property NQ12_SC1 Auto |