Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
559 B
29 lines
559 B
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
|
|
|