Jump to content
Sign in to follow this  
monotone

Stop player driven tank

Recommended Posts

I'm making tank assault mission and have a problem about it.

Insert a cutscene when player is a tank driver and player hitting "W" key causes player's tank running away till cutscene ends.

To hold the tank,I've tried some means below but nothing worked well.

"stop" "doStop" "commandStop" "forceSpeed" commands .... they act only for AI units.

"setPos" looping ... it makes tank bounding,running sound doesn't ceased.

Take out tank fuel ... tank crews report "Fuel Low!"

So,Are there nice solutions to stop the tank?

Edited by Monotone

Share this post


Link to post
Share on other sites

Thanks a lot goliath!

I tried "disableUserInput",It works well.

It is simple and perfect way!

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  

×