Wiki 1558 Posted December 25, 2014 Well, I want to prevent the player from accelerating time in some moments - for important dialogs for example. Not all the time of course. For example, when the player reaches the objective and the dialogs begins, I want the player not being able to accelerate time. Concerning the second point, I just want to prevent 3rd pers view (or force 1st pers view) when the player is in a vehicle - just like Sarge Studio did in their "Deliverance" campaign. And force the 1st pers view as soon as the player enters the vehicle - even if he was in 3rd pers view. Share this post Link to post Share on other sites
Greenfist 1863 Posted December 25, 2014 Start your dialog/cutscene with this: disableAcctime = true; [] spawn { while {disableAcctime} do { if(accTime != 1.0) then {setAccTime 1.0;}; Sleep 0.01; }; }; And when the scene is over: disableAcctime = false; Share this post Link to post Share on other sites
Wiki 1558 Posted December 28, 2014 Great, both things work! Thank you very much! Share this post Link to post Share on other sites
drunken officer 18 Posted December 29, 2014 (edited) you dont need a while loop running the whole time. Use a waitunitl together with sleep. It saves performance. You can reduce the sleep time. The player can see just one sec the 3rd person. After a while, the players stop to try to switch in 3rd person :smile: if (local player) then { while {true} do { waituntil {sleep 1; (vehicle player != player) && (cameraView == "EXTERNAL")}; vehicle player switchCamera "INTERNAL"; }; }; But it's funny. Most servers do it this way, the the player can use 3rd person, when they are inside a vehicle and outside they have only 1st person. Edited December 29, 2014 by Drunken Officer Share this post Link to post Share on other sites
Wiki 1558 Posted January 4, 2015 Well, everything works fine now, just as I wanted. Thank you all. Share this post Link to post Share on other sites