Jump to content
Sign in to follow this  
ReaperY2K

Scripting problems

Recommended Posts

Ive created a cam script but when i save it as Intro.sqs there is a .txt extension on the end that i cannot remove confused.gif how can i remove this extension as some one told me this will prevent the script from working which is what it is doin

Share this post


Link to post
Share on other sites

tounge.gif Found a way to remove the extension the only problem i have now is when my script runs it comes up with an error at the top of the screen saying- camcommitted [#]_cam error

the script is as follows:

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

_cam cameraeffect ["internal","back"]

_cam camsettarget aP

_cam camsetrelpos [-2,10,3]

_cam camcommit 0

titlecut ["","BLACK IN",2]

~2

_cam camsetrelpos [-4,-5,0.5]

_cam camcommit 7

@camcommitted _cam

~3

_cam camsetrelpos [+3,2,1]

_cam camcommit 5

@camcommited _cam

~2

_cam camsetrelpos [0,0.4,1.5]

_cam camcommit 4

@camcommitted _cam

~2

_cam camsetrelpos [0,0.8,1.5]

_cam camcommit 4

@camcommitted _cam

~2

_cam camsettarget man1

_cam camsetrelpos [0,2,2]

_cam camcommit 10

@camcommitted _cam

~4

titlecut ["FIN !","BLACK OUT",6]

~6

_cam camereffect ["terminate","back"]

camdestroy _cam

titlecut ["","BLACK IN",2]

if i take out the space between @camcommitted _cam and make it @camcommitted_cam the script wont move on to the next cycle confused.gif please i need help

Share this post


Link to post
Share on other sites

Why do you have the + sign before one of your position settings. That should not be necessary...could that be causing problems...?

I don't know, this was just the only thing I could see right away.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (ReaperY2K @ Mar. 20 2002,18:03)</td></tr><tr><td id="QUOTE">if i take out the space between @camcommitted _cam and make it @camcommitted_cam the script wont move on to the next cycle  ???   please i need help<span id='postcolor'>

@camcommitted _cam means wait until camera named _cam do what must to do.

@camcommitted_cam means wait until variable camcommitted_cam is true.

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  

×