Home   Help Search Login Register  

Author Topic: camdestroy  (Read 967 times)

0 Members and 1 Guest are viewing this topic.

Azraell

  • Guest
camdestroy
« on: 11 Oct 2002, 15:32:27 »
   hi, below is a cam script im doing, but it wont end and go back to the player, am i putting camdestroy in the correct spot?


camera="camera" camcreate [9181.71,10302.43,19.60]
camera cameraeffect ["internal","back"]

camera camSetTarget [-81665.57,-31387.33,-2604.69]
camera camSetFOV 0.700
camera camCommit 5


~1

;=== 7:28:10
camera camSetTarget [-24162.62,-83915.65,-1976.99]
camera camSetPos [9112.59,10357.10,50.45]
camera camSetFOV 0.700
camera camCommit 5


~5

;=== 7:28:58
camera camSetTarget [38377.96,-85017.31,6909.73]
camera camSetPos [9050.22,10360.20,29.15]
camera camSetFOV 0.700
camera camCommit 10


~9

;=== 7:29:45
camera camSetTarget [62369.39,67141.38,-62318.56]
camera camSetPos [9035.38,10342.09,46.59]
camera camSetFOV 0.700
camera camCommit 10

~7

camdestroy camera


seanver

  • Guest
Re:camdestroy
« Reply #1 on: 11 Oct 2002, 17:34:49 »
Quote
camdestroy camera

it should be:

Code: [Select]
camdestroy _camera
Besides, you should add this before the camdestroy command:

Code: [Select]
_camera cameraeffect ["TERMINATE", "back"]

Azraell

  • Guest
Re:camdestroy
« Reply #2 on: 11 Oct 2002, 19:28:18 »
ahhhh, the terminate, yes, thats what i thinmk im missing, read it somewhere but couldnt think of what it was.....thanks :D :) ;D :D ;D :) :D ;D :)