Jump to content
Sign in to follow this  
Eraser-pt

How to make a tank completly stop

Recommended Posts

I have a tank witch is very damaged with a repair truck in a base i made it, when i put preview I see the tank full speed at base destroying the fences and everything he passes by... confused.gif

How can i make the tank dont move until the repair truck get out the base?

cya ;P

Share this post


Link to post
Share on other sites

Hi Eraser-pt,

Just use this command when you want the tank to stop:

tankName setFuel 0

where tankName is (surprisingly) the name of your tank.

That will leave the tank with no fuel (it should not be able to move)

When you want the tank to be able to move again:

tankName setFuel 1

You can also use the Stop command:

tankName Stop true

and tankName stop false to let it move again.

Regards

Share this post


Link to post
Share on other sites

@AliMag

This won't work, too.

If chains or engine are serious damaged, the tank will start to roll nonstop downhill if something gets it moving while it's on a hill:

nearby explosion, entering as driver, shoting the main gun so the tank makes a little jump, collision with other objects,...

It's the same with tanks without fuel.

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">This won't work, too.<span id='postcolor'>

Well, too bad... tounge.gif

I don't think that it's possible to completely stop a tank..

Well if you really need that, have you tried to take the

tanks coordinates, and then repeatedly check whether the tank has moved, and if so, then move it back..

(This was just a stupid idea and probably won't work too well.)

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  

×