Home   Help Search Login Register  

Author Topic: Ending...not!  (Read 411 times)

0 Members and 1 Guest are viewing this topic.

Offline tonnerheim

  • Members
  • *
  • I'm a llama!
Ending...not!
« on: 28 Jul 2003, 21:26:54 »
Alright, I have been looking for some help in the other topics but nothin seems to do  IT!
IÂ'm activating the script in the players init, it starts alright but never ends?
Any Ideas?
Thanks!

_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]
_camera camSetTarget player
_camera camSetPos [7667.77,4519.09,2.30]
_camera camSetFOV 1.065
_camera camCommit 0
@camCommitted _camera
~4

capt dowatch player
_camera camSetTarget [26931.26,-92553.52,-14328.28]
_camera camSetPos [7668.19,4518.17,1.99]
_camera camSetFOV 0.950
_camera camCommit 0
@camCommitted _camera
~8

; fade back in over 2 seconds
titlecut ["","BLACK IN",2]

; wait for 2 seconds for the fade to complete
~2

; end cutscene
_cam cameraeffect ["terminate", "back"]
camdestroy _cam

; fade back in over 2 seconds
titlecut [" ","BLACK IN",2]

exit

peter

  • Guest
Re:Ending...not!
« Reply #1 on: 29 Jul 2003, 00:05:25 »
donÂ't know much about cutscenes, but isn`t your cameras id _camera ?!!

; end cutscene
_cam cameraeffect ["terminate", "back"]
camdestroy _cam




Offline tonnerheim

  • Members
  • *
  • I'm a llama!
Re:Ending...not!
« Reply #2 on: 29 Jul 2003, 00:27:22 »
Thanks mate! But it still doesnÂ't end?? I  now have speech and lip files so IÂ'm getting really frustrated!
 :'(
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]
_camera camSetTarget player
_camera camSetPos [7667.77,4519.09,2.30]
_camera camSetFOV 1.065
_camera camCommit 0
@camCommitted _camera
~4

capt dowatch player
_camera camSetTarget [26931.26,-92553.52,-14328.28]
_camera camSetPos [7668.19,4518.17,1.99]
_camera camSetFOV 0.950
_camera camCommit 0
@camCommitted _camera
~5

player dowatch capt
_camera camSetTarget [-35867.26,-74017.00,44032.17]
_camera camSetPos [7668.93,4519.25,1.31]
_camera camSetFOV 0.434
_camera camCommit 0
@camCommitted _camera
~6

_camera camSetTarget [-53075.79,-59922.54,-46420.34]
_camera camSetPos [7669.69,4519.22,2.45]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~8
; fade back in over 2 seconds
titlecut ["","BLACK IN",2]
; wait for 2 seconds for the fade to complete
~2
Titlecut ["","BLACK IN",2]
; end cutscene
_camera cameraeffect ["terminate", "back"]
camdestroy _camera

; exit the script
exit

AHA I found the problem!!!
« Last Edit: 29 Jul 2003, 00:46:48 by tonnerheim »