Jump to content
Sign in to follow this  
svarun

How to get AI to destroy/attack building

Recommended Posts

I ran into a problem when making a mission.

I'm trying to get AI tank to shoot at a building with it's main cannon, regardless if the building is occupied or not.

Is there a way to get this working?

Share this post


Link to post
Share on other sites

I want to have a team plant a satchel at a building, pull back to safe spot, then detonate the charge. I assume the commands would be in the waypoints. As far as getting them to attack a building, I assume the building's ID would be needed right?

Share this post


Link to post
Share on other sites

@RTEK this is solved with an easy script to make the AI planting charges, you don't need to give them an ID, you may need a buildingPos if you want them to plant the charge on a certain part of the building, and this is easy with waypoints.

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  

×