beno_83au 1362 Posted May 29, 2017 Evening, I'm trying to prevent AI driver and gunner from dismounting as part of a counter ambush drill by using lockDriver and lockTurret, but they can't help themselves. In the vehicle's init field I have: this lockDriver true; this lockTurret [[0],true]; An IED goes off and the car looses its wheels, everyone survives and, as intended, the AI occupying cargo positions dismount. However, the driver and gunner also dismount. Have I misread the wiki, or is the lock state of the vehicle ignored once it is immobilised? Share this post Link to post Share on other sites
theend3r 83 Posted May 29, 2017 Lock is ignored but this should work: _vehicle allowCrewInImmobile true; 1 Share this post Link to post Share on other sites
dscha 147 Posted May 29, 2017 lockXYZ is only for "entering" the Vehicle. 1 Share this post Link to post Share on other sites
beno_83au 1362 Posted May 29, 2017 3 minutes ago, dscha said: lockXYZ is only for "entering" the Vehicle. Thanks for the heads up. 11 minutes ago, theend3r said: Lock is ignored but this should work: _vehicle allowCrewInImmobile true; Cheers theend3r. That'll solve it perfectly. Share this post Link to post Share on other sites