30 lines
804 B
Plaintext
30 lines
804 B
Plaintext
scriptname _00E_FS_NQR03_SisterPrideTrigger extends objectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF && FS_NQR03.GetCurrentStageID() == 80 && !bDone
|
|
FS_NQR03.SetObjectiveDisplayed(25, true, true)
|
|
EnableSisterPride()
|
|
ElseIf akActionRef == PlayerREF && FS_NQR03.GetCurrentStageID() == 85 && !bDone
|
|
EnableSisterPride()
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Function EnableSisterPride()
|
|
|
|
FS_NQR03_SisterPrideREF.Enable()
|
|
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 |