Quick problem that i believe can only be utilized by a script.
What I want to do is make a vehicle move from Point A to Point B. Now what I want to happen is if an enemy unit comes into visual contact with the said vehicle, I want the troops inside the vehicle to get out and engage. then when the enemy is destroyed, reenter the vehicle and continue to Point B.
I know this can be completed with using a series of waypoints and switch triggers. But, I want it to happen seamlessly. Rather than a predetermined unit, I want any enemy contact to be engaged, rather than just passed by to get to Point B.