Jump to content
Sign in to follow this  
Harnu

Camcreate and setvelocity

Recommended Posts

Does anyone know how to make something that was camcreated get a setvelocity also. If I want to camcreate an LGB, how can I use the setvelocity to make it go forward? Do I need scripts or do I just put more into the activation line of my trigger?

Share this post


Link to post
Share on other sites

With 1.90, you can "LaserGuidedBomb" createVehicle stuff. If you use camCreate then the bomb wouldn't be seen in MP, but createVehicle works great in MP. Just FYI.

Doolittle

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 </td></tr><tr><td id="QUOTE">Do I need scripts or do I just put more into the activation line of my trigger? <span id='postcolor'>

no script needed. Can be done in trigger also.

Share this post


Link to post
Share on other sites

But how do I get a bomb that I camcreate to move using setvelocity?

boom = "laserguidedbomb" camcreate [(getpos this select 0, getpos this select 1, getpos this select 2) + 0]

I know how to camcreate, but what do I do to get the bomb to move!

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 (Harnu @ Dec. 07 2002,19:10)</td></tr><tr><td id="QUOTE">Does anyone know how to make something that was camcreated get a setvelocity also.  If I want to camcreate an LGB, how can I use the setvelocity to make it go forward?  Do I need scripts or do I just put more into the activation line of my trigger?<span id='postcolor'>

What's wrong with a createVehicle followed by a setVelocity? It isn't that hard to script surely? Although it would be nice to be able to tie the execution of several lines together of course.

Prospero

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 (Prospero @ Dec. 08 2002,13:22)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Harnu @ Dec. 07 2002,19:10)</td></tr><tr><td id="QUOTE">Does anyone know how to make something that was camcreated get a setvelocity also.  If I want to camcreate an LGB, how can I use the setvelocity to make it go forward?  Do I need scripts or do I just put more into the activation line of my trigger?<span id='postcolor'>

What's wrong with a createVehicle followed by a setVelocity? It isn't that hard to script surely? Although it would be nice to be able to tie the execution of several lines together of course.

Prospero<span id='postcolor'>

But I have no idea HOW TO SCRIPT! And until chirstmas break, I don't care to learn.

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 (Harnu @ Dec. 07 2002,18:45)</td></tr><tr><td id="QUOTE">But how do I get a bomb that I camcreate to move using setvelocity?

boom = "laserguidedbomb" camcreate [(getpos this select 0, getpos this select 1, getpos this select 2) + 0]

I know how to camcreate, but what do I do to get the bomb to move!<span id='postcolor'>

this might work... I'm not sure

boom = "laserguidedbomb" createVehicle [(getpos this select 0, getpos this select 1, getpos this select 2) + 0]; boom setVelocity [10,10,10];

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  

×