Jump to content
Mamith

AI Unassign from vehicle when they get out while using guard waypoint

Recommended Posts

Currently I have an infantry squad in a truck, the squad is in the driver and cargo seats. The squad leader has a guard waypoint and will automatically drive to enemy groups that the squads side spots. This makes them very good dynamic QRF units as I don't have to manually send units as QRFs

 

The problem is when they arrive at the enemy location they will get stuck in a loop of getting out of the vehicle and getting back in the vehicle as they constantly try to reposition using the vehicle so I need a script I can put in the init field of one of the units that will unassign the vehicle from the whole squad and kick them all out so they cant use it anymore.

 

Limitations:

This problem can not be solved using get out waypoints as it would defeat the point of using the guard waypoint.

 

For those that don't know how the guard waypoint works go here: 

 

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

×