Fesler 0 Posted January 17, 2022 I have a mission I'm building where the copilot of a helicopter is the player and is just along for the ride. The pilot can't let him take control. I know of copilot enable and suspend vehicle control commands. But I don't know how to make them work or if I even need that. I just need to prevent the player from taking the controls. I tried: player action ["SuspendVehicleControl", vehicle player]; Doesn't seem to work. I thought about temporarily disable input but I want to be able to look around the cockpit. Any tips? Share this post Link to post Share on other sites
mrcurry 496 Posted January 17, 2022 22 minutes ago, Fesler said: I have a mission I'm building where the copilot of a helicopter is the player and is just along for the ride. The pilot can't let him take control. I know of copilot enable and suspend vehicle control commands. But I don't know how to make them work or if I even need that. I just need to prevent the player from taking the controls. I tried: player action ["SuspendVehicleControl", vehicle player]; Doesn't seem to work. I thought about temporarily disable input but I want to be able to look around the cockpit. Any tips? Try one of these, the first is sufficient for SP. //In init of editor placed vehicle: this enableCopilot false; //in MP, executed on server: [veh, false] remoteExec ["enableCopilot", 0, veh]; 1 Share this post Link to post Share on other sites
Fesler 0 Posted January 17, 2022 Thank you! It worked. I had tried all kinds of codes before. Just one hurdle among many to build a mission. Share this post Link to post Share on other sites