enderalse/scripts/source/_00e_mq00tempelkonstrukttriggboxb.psc

101 lines
3.4 KiB
Plaintext
Raw Normal View History

Scriptname _00E_MQ00TempelKonstruktTriggBoxB extends ObjectReference
Quest Property _00E_MQ00TempelScene auto
Idle Property IdleWalkingCameraEnd Auto
Idle Property IdleWalkingCameraStart Auto
OBJECTREFERENCE Property MQ00TempelSceneBoteStartMarker Auto
OBJECTREFERENCE Property MQ00TempelSceneBoteRef Auto
OBJECTREFERENCE Property MQ00TempelSunlight Auto
OBJECTREFERENCE Property Magieladung01 Auto
OBJECTREFERENCE Property Magieladung02 Auto
OBJECTREFERENCE Property Magieladung03 Auto
OBJECTREFERENCE Property Magieladung04 Auto
OBJECTREFERENCE Property MagieladungMarker01 Auto
OBJECTREFERENCE Property MagieladungMarker02 Auto
OBJECTREFERENCE Property MagieladungMarker03 Auto
OBJECTREFERENCE Property MagieladungMarker04 Auto
Actor Property _00E_DerBote Auto
Actor Property _00E_Anfuehrer Auto
Topic Property _00E_MQ00TempelSceneDialogTopic01 Auto
Topic Property _00E_MQ00TempelSceneDialogTopic02 Auto
Topic Property _00E_MQ00TempelSceneDialogTopic03 Auto
int DoOnce
OBJECTREFERENCE Property MQ00LightTransferRef Auto
Idle Property WakeUp Auto
ImageSpaceModifier Property _00E_MQ00TempleIMSMO01 Auto
ImageSpaceModifier Property _00E_MQ00TempleIMSMOState Auto
OBJECTREFERENCE Property MQ00RefMagicBlue Auto
Actor Property PlayerREF Auto
OBJECTREFERENCE Property MQ00TempleSceneMarkerPlayer01 Auto
Sound Property MAGMysticismSoulTrapCapture Auto
Event OnTriggerEnter(ObjectReference akActionRef)
if(akActionRef == Game.GetPlayer())
if ( DoOnce == 0 )
Game.SetPlayerAIDriven(false)
MAGMysticismSoulTrapCapture.play(Self)
_00E_MQ00TempelScene.SetActive()
Game.DisablePlayerControls(ablooking = true, abCamSwitch = true)
_00E_MQ00TempleIMSMO01.apply()
_00E_MQ00TempelScene.SetStage(20)
Utility.Wait(0.5)
PlayerREF.SetAlpha(0)
PlayerREF.SetGhost(True)
Game.GetPlayer().PlayIdle(IdleWalkingCameraEnd)
Game.ForceFirstPerson()
Utility.Wait(4.0)
Game.GetPlayer().PlayIdle(IdleWalkingCameraEnd)
MQ00TempelSunlight.disable()
MQ00TempelSceneBoteRef.Enable()
_00E_DerBote.Enable()
MQ00TempelSceneBoteRef.MoveTo(MQ00TempelSceneBoteStartMarker)
_00E_DerBote.EvaluatePackage()
_00E_MQ00TempleIMSMOState.apply()
_00E_Anfuehrer.Enable()
_00E_Anfuehrer.EvaluatePackage()
MQ00RefMagicBlue.enable()
PlayerRef.MoveTo(MQ00TempleSceneMarkerPlayer01)
Game.GetPlayer().PlayIdle(WakeUp)
Utility.Wait(6.0)
_00E_Anfuehrer.Say(_00E_MQ00TempelSceneDialogTopic01, _00E_DerBote)
Utility.Wait(4.5)
_00E_DerBote.Say(_00E_MQ00TempelSceneDialogTopic01, _00E_Anfuehrer)
Utility.Wait(4.0)
_00E_Anfuehrer.Say(_00E_MQ00TempelSceneDialogTopic02, _00E_DerBote)
Utility.Wait(4.0)
_00E_DerBote.Say(_00E_MQ00TempelSceneDialogTopic02, _00E_Anfuehrer)
Utility.Wait(2.0)
MQ00RefMagicBlue.TranslateToRef(MQ00LightTransferRef, 200)
_00E_MQ00TempelScene.SetStage(30)
_00E_DerBote.EvaluatePackage()
Utility.Wait(2.0)
_00E_DerBote.Say(_00E_MQ00TempelSceneDialogTopic03, _00E_Anfuehrer)
Utility.Wait(4.0)
_00E_Anfuehrer.Say(_00E_MQ00TempelSceneDialogTopic03, _00E_DerBote)
Magieladung01.enable()
Magieladung02.enable()
Magieladung03.enable()
Magieladung04.enable()
Magieladung01.SplineTranslateToRef(MagieladungMarker01, 1000, 250, 50)
Magieladung02.SplineTranslateToRef(MagieladungMarker02, 1000, 250, 50)
Magieladung03.SplineTranslateToRef(MagieladungMarker03, 1000, 250, 50)
Magieladung04.SplineTranslateToRef(MagieladungMarker04, 1000, 250, 50)
DoOnce == 1
endif
endif
EndEvent