P3D-Legacy/P3D/Content/Data/Scripts/vermilion/fastshipleaving.dat

57 lines
1.9 KiB
Plaintext

version=2
@screen.fadeout(10)
@storage.set(bool,third,<camera.thirdperson>)
@camera.activatethirdperson
@camera.setyaw(1.32)
@camera.setpitch(-0.307)
@camera.setposition(-3.4,2.62,3.81)
@camera.update
@level.update
@camera.fix
@screen.fadein(10)
:if:<player.position(z)>=1
@npc.turn(2,1)
@npc.move(2,2)
@sound.play(enter)
@npc.warp(2,0,-2,0)
@player.move(3)
@sound.play(enter)
@player.warp(0,-2,0)
:else
@npc.turn(5,1)
@npc.move(5,1)
@npc.turn(5,0)
@npc.move(5,1)
@npc.turn(5,1)
@npc.move(5,1)
@sound.play(enter)
@npc.warp(5,0,-2,0)
@player.move(2)
@player.turn(3)
@player.move(1)
@player.turn(1)
@player.move(1)
@sound.play(enter)
@player.warp(0,-2,0)
:endif
:while:<entity.positionz(0)><20
@entity.addtoposition(0,0,0,0.1)
@level.update
:endwhile
@screen.fadeout
@camera.defix
@camera.reset
@script.start(speedboatscene)
@camera.setthirdperson(<storage.get(bool,third)>)
@camera.update
:end