Salegan 10 Posted January 6, 2012 Hi, I'm trying to make AI to steal me car, but it seems no other men than those from my group can enter driver's/gunner's/commander's seat. I tried to add thief to my group when close to the car, then used moveInDriver command, locked the vehicle and after that make him leave my group, but he immediately abandoned his seat even from locked car. If there is any simple way to force him steal my car, I'be glad to know it :) Alternative solutions: Another possibility would be to create a new car when he approaches and delete the original, but I don' t know how to name in-mission-created-vehicle and have no idea how to use eventHandlers. I wouldn't need named vehicle if I added 'get in the nearest' waypoint near the created vehicle, but I was unable to name group as well (I found three guides on this topic, but 'GroupName = group this;' in leader's init field seems to do nothing.). Help will be hopefully appreciated by released mission ;) Share this post Link to post Share on other sites
f2k sel 164 Posted January 6, 2012 (edited) Those roles are probably taken. (assigned already). If the driver/commander/gunner are assigned that role those roles need removing. This should remove the roles. Car would be the name of the vehicle. trigger cond !(player in car) On act {unassignVehicle _x} foreach units group player Edited January 6, 2012 by F2k Sel Share this post Link to post Share on other sites
Salegan 10 Posted January 7, 2012 Ah, it works! Thanks a lot. Share this post Link to post Share on other sites