Jump to content
Sign in to follow this  
L00s3r

It's me again

Recommended Posts

Ok, I made this camera script where the camera goes in a tent and shows off the weapons inside. The problem is when it has shown the last weapon it just stays there... It is supose to go pack to the players eyes where it belongs to... but no, someone please tell me what is wrong with this camera sript:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">titlecut ["","black in",10]

_camera = "camera" camcreate [0,0,0]

_camera cameraeffect ["internal","back"]

;=== 14:35:31

_camera camSetTarget [101575.26,7234.55,25.93]

_camera camSetPos [1588.28,5620.99,1.40]

_camera camSetFOV 0.664

_camera camCommit 0

@camCommitted _camera

;=== 14:35:45

_camera camSetTarget [-43360.16,-69077.02,-48956.33]

_camera camSetPos [1595.16,5621.10,1.40]

_camera camSetFOV 0.664

_camera camCommit 5

@camCommitted _camera

;=== 14:36:22

_camera camSetTarget [1898.42,70262.93,-76272.84]

_camera camSetPos [1599.25,5621.25,1.14]

_camera camSetFOV 0.664

_camera camCommit 5

@camCommitted _camera

;=== 14:36:30

_camera camSetTarget [-15465.40,88723.02,-52918.80]

_camera camSetPos [1599.06,5622.16,1.14]

_camera camSetFOV 0.664

_camera camCommit 5

@camCommitted _camera

;=== 14:36:42

_camera camSetTarget [-5374.92,74651.54,-71990.57]

_camera camSetPos [1597.20,5621.90,1.14]

_camera camSetFOV 0.664

_camera camCommit 5

@camCommitted _camera

camdestroy _camera

exit<span id='postcolor'>

Share this post


Link to post
Share on other sites

try this for your last lines

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_camera cameraeffect ["terminate", "back"]

camdestroy _camera

exit<span id='postcolor'>

Share this post


Link to post
Share on other sites

THANK YOU! I spent the whole day trying to figure that out  tounge.gif

Él saviour Junker! I worship you! wink.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×