Vodas3 0 Posted January 9, 2018 I need to force bout not to move because i am generating many boats and some of them just swim away. I have tried : doStop _veh; _veh forceSpeed 0; but both unsucesfull I found only one thing witch is preventing boat from moving: _veh enableSimulation false; but this makes player screen black and player is not able to leave the vehicle my fix with eventHandler was not working as well _veh addEventHandler ["GetIn",{ _veh enableSimulation true;}]; Looks like because Event GetIn is not working while : _enableSimulation false; Thx for any help Share this post Link to post Share on other sites
pierremgi 4906 Posted January 9, 2018 You have a problem passing the variable to the EH code: _veh addEventHandler ["GetIn",{ (_this select 0) enableSimulationGlobal true }]; 1 Share this post Link to post Share on other sites
Vodas3 0 Posted January 9, 2018 Love you! No idea tat could be the problem.. So this code is working great: _veh enableSimulation false; _veh addEventHandler ["GetIn",{ (_this select 0) enableSimulationGlobal true;}]; this code disable all movement of the boat and Handler enable the boat Share this post Link to post Share on other sites