enderalse/scripts/source/_00e_p01_cutscenelauncherscript.psc

41 lines
971 B
Plaintext
Raw Normal View History

Scriptname _00E_P01_CutsceneLauncherScript extends ObjectReference
{Simply places an invisible activator that triggers the "cutscene" in order to avoid bloated script fragments
}
Actor Property Father Auto
Actor Property PlayerREF Auto
ObjectReference Property ShipMarker Auto
Sound Property _00E_FireExplosion Auto
Sound Property MagLightCharge Auto
Quest Property _00E_P01_ASummersDay Auto
Quest Property _00E_P02_ANewLife Auto
Event OnInit()
Game.SetCameraTarget(Father)
Debug.SendAnimationEvent(Father, "IdleCannibalFeedCrouching")
Utility.Wait(2)
MagLightCharge.Play(PlayerREF)
PlayerREF.SplineTranslateToRef(Father, 20, 400)
Utility.Wait(0.2)
_00E_FireExplosion.Play(PlayerREF)
FadeToBlackHoldImod.Apply()
Utility.Wait(1)
_00E_P02_ANewLife.Start()
Utility.Wait(1)
_00E_P01_ASummersDay.CompleteAllObjectives()
_00E_P01_ASummersDay.CompleteQuest()
FadeToBlackHoldImod.remove()
Self.Delete()
EndEvent
ImageSpaceModifier Property FadeToBlackHoldImod Auto