enderalse/scripts/source/_00e_mq11a_magicalanomalyscript.psc

21 lines
656 B
Plaintext

Scriptname _00E_MQ11a_MagicalAnomalyScript extends ReferenceAlias
Event OnEnterBleedout()
ObjectReference XPlosionMarker = Self.GetReference().PlaceAtMe(XMarker, 1)
XPlosionMarker.MoveTo(Self.GetReference(), 0.0, 0.0, 100)
XPlosionMarker = Self.GetReference().PlaceAtMe(_00E_MQ11a_AnomalySpawnExplosion, 1)
_00E_NPCMagicAnomalyScreamM.Play(Self.GetReference())
Game.ShakeCamera()
Self.GetReference().Disable()
Utility.Wait(2)
MQ11a_Anomaly.SetValueInt(1)
EndEvent
Sound Property _00E_NPCMagicAnomalyScreamM Auto
Static Property XMarker Auto
Explosion Property _00E_MQ11a_AnomalySpawnExplosion Auto
GlobalVariable Property MQ11a_Anomaly Auto