Limo98ITA 0 Posted July 24, 2023 I'm trying to create a mission, everything works so far except the AI, which doesn't want to get out of the vehicle once it reaches the given position. The situation is that once one of the players identifies the High-Value Target (HVT), the HVT will walk up to a car and get in as a passenger. The driver will then drive to the designated position, but the problem is that the HVT doesn't get out of the car regardless of any command given to him via SQF/trigger or even through waypoints. Quote waitUntil {(triggerActivated trg6)}; HVT1 doMove (position car); HVT1 assignAsCargo car; [HVT1] orderGetIn true; sleep 5; car doMove (getMarkerPos "ps"); waitUntil {(HVT1 distance getMarkerPos "ps" < 0)}; // Disassegna l'unità dal veicolo unassignVehicle HVT1; HVT1 action ["eject", car]; Share this post Link to post Share on other sites
JCataclisma 40 Posted July 25, 2023 Try and take a look at this similar post, I'm almost sure the same solution there works for you as well: Share this post Link to post Share on other sites
Harzach 2511 Posted July 25, 2023 waitUntil {(HVT1 distance getMarkerPos "ps" < 0)}; This will never evaluate true. Share this post Link to post Share on other sites
Limo98ITA 0 Posted July 25, 2023 Thanks to both of you for the answers. I will try and let you know if I have solved it. Share this post Link to post Share on other sites