stisoas 0 Posted December 13, 2006 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_objet1 = _this select 0 _cam = "camera" camcreate [0,0,0] _cam cameraeffect ["internal", "back"] ; point the camera at the object1, and place it 150m to the object1s left, ; 45m to his front and 120m above the ground _cam CamSetFOV 0.50 _cam camsettarget _objet1 _cam camsetrelpos [-150,45,120] _cam camcommit 0 ; fade in from black over 2 seconds titlecut [" ","BLACK IN",2] ; wait for 2 seconds for the fade to complete ~2 ; wait two seconds ~10 ; fade out over 2 seconds titlecut [" ","BLACK OUT",2] ~2 camDestroy camera camDestroy _cam exit my camera isnt destroy at end of script. screen is black at infinite. Share this post Link to post Share on other sites
raedor 8 Posted December 13, 2006 Add a<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">titlecut [" ","BLACK IN",2]just before the exit. Share this post Link to post Share on other sites
stisoas 0 Posted December 13, 2006 i mean, camera isnt destroy with that ! i'm freezed on the camera view. Share this post Link to post Share on other sites
Messiah 2 Posted December 13, 2006 try this instead: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_cam cameraeffect ["terminate", "back"] camdestroy _cam Share this post Link to post Share on other sites
maxqubit 1 Posted February 4, 2007 try this instead:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_cam cameraeffect ["terminate", "back"] camdestroy _cam Search was my friend:) (I had the same prob as topic poster) Thx Messiah, it works! Share this post Link to post Share on other sites