enderalse/source/scripts/_00e_mq08trainsoundactivator.psc

28 lines
599 B
Plaintext

Scriptname _00E_MQ08TrainSoundActivator Extends ObjectReference
Event OnInit()
While !Done
Game.ShakeCamera(None, Utility.RandomFloat(0.05, 0.15), 3)
If MQ08_IntoTheDeep.GetStage() == 220
Done = True
Sound.StopInstance(SoundID)
Sound.StopInstance(SoundID2)
Self.DeleteWhenAble()
EndIf
int SoundID = OBJDwemerPipeFanLPmarker.Play(Self)
int SoundID2 = OBJDwemerGearsSingleB.Play(Self)
Utility.Wait(3)
EndWhile
EndEvent
bool Done = False
Quest Property MQ08_IntoTheDeep Auto
Sound Property OBJDwemerGearsSingleB Auto
Sound Property OBJDwemerPipeFanLPmarker Auto