enderalse/source/scripts/_00e_fs_nqr03_sisterpridetrigger.psc

30 lines
804 B
Plaintext
Raw Normal View History

scriptname _00E_FS_NQR03_SisterPrideTrigger extends objectReference
Event OnTriggerEnter(ObjectReference akActionRef)
2024-01-10 14:08:24 +00:00
If akActionRef == PlayerREF && FS_NQR03.GetCurrentStageID() == 80 && !bDone
FS_NQR03.SetObjectiveDisplayed(25, true, true)
EnableSisterPride()
2024-01-10 14:08:24 +00:00
ElseIf akActionRef == PlayerREF && FS_NQR03.GetCurrentStageID() == 85 && !bDone
EnableSisterPride()
EndIf
EndEvent
Function EnableSisterPride()
FS_NQR03_SisterPrideREF.Enable()
2023-12-08 02:45:53 +00:00
FS_NQR03_SisterPrideREF.SetActorValue("Health", 1)
If FS_NQR03_SisterPrideREF.Is3DLoaded()
BerserkerFXS.Play(FS_NQR03_SisterPrideREF)
EndIf
bDone = true
Self.Disable()
EndFunction
bool bDone = false
Actor Property PlayerREF Auto
Actor Property FS_NQR03_SisterPrideREF Auto
Quest Property FS_NQR03 Auto
EffectShader Property BerserkerFXS Auto