enderalse/source/scripts/_00e_rotateandfirebeam.psc

29 lines
559 B
Plaintext
Raw Normal View History

Scriptname _00E_RotateAndFireBeam extends ObjectReference
int Spins
Sound Property IncreaseSpeed Auto
Event OnActivate(ObjectReference akActionRef)
Debug.Notification("Orb loaded")
RegisterForSingleUpdate(10)
while Spins == 0
self.TranslateTo(-105.9026, -3809.2825, 156.0181, 360.0, 360.0, 360.0, 1.0, 20.0)
endwhile
while Spins == 1
self.TranslateTo(-105.9026, -3809.2825, 156.0181, 360.0, 360, 360, 1.0, 40.0)
endwhile
EndEvent
Event OnUpdate()
Spins = Spins + 1
Debug.Notification("Increasing speed.")
IncreaseSpeed.Play(self)
EndEvent