At The Moment I´m building a Altis Life style mission were you play as a Police Officer against AI.
Now I got the Problem that I want to be able to stop a Vehicle, pull the driver out off it (ACE3) and search him, but as soon as i pull him out he follows the Waypoints on foot. To prevent that i used DisableAI"move" but after enabeling it he wont get in his Vehicle or walk anymore
Trigger:
condition:
AIZ2 distance P1 < 10 || AIZ2 distance P2 < 10 || AIZ2 distance P3 < 10
When activated:
AIZ2 setFuel 0; AIZ2D disableAI"move"
When Dectivated:
AIZ2 setFuel 1; AIZ2D enableAI"move"
AIZ2 = Vehicle
AIZ2D = Vehicle Driver (Civil)
P1,P2,P3 = Player/Police(Blufor)
I also tried to assign the Unit to the Vehicle but Nothing happend, Now I think freezing the Waypoints could help for exampel:
Freeze Waypoints on trigger Activation and something like get in Vehicle when the trigger is deactivated and after that unfreeze Waypoints