Jump to content
Sign in to follow this  
TrenchClub

Moving AI into a house

Recommended Posts

I've got a group of AI in a vehicle, when upon dismounting I want to have them move either into a specific house to assigned positions or to the nearest random house to random positions but I have no idea how to do either of these with scripts (which it has to be).

Share this post


Link to post
Share on other sites

I'm new to scripting, plase explain if you can how to use buildingpos and nearestbuilding to achieve what I'm trying to do.

The ideal solution would be having all the units in the group move to the nearest house.

Share this post


Link to post
Share on other sites

will this work if the building is spawned in via delete vehicle script?

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  

×