Jump to content
Sign in to follow this  
Cypher2004

Tanks v.s cars (help)

Recommended Posts

I have an idea on how a tank can smash into a car at a crossroads, but the tank avoids the car like the Black Plague! any ideas???

Share this post


Link to post
Share on other sites

ok, do these go in the INT field? if so wot are the codes without the numbers?

Share this post


Link to post
Share on other sites

no, u have to write a little script...

like<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_tank = _this

_tank setDir 0

#loop

_tank setVelocity [10, 0, 0]

? var: exit

~0.01

goTo "loop"

and the tank will drive with 10 meters per second in the north until var = true

Share this post


Link to post
Share on other sites

i cant do scripting so that idea is out the window. thanks anyway!

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  

×