{"name":"setAccTime","operator":null,"title":"setAccTime","type":"command","url":"https://community.bistudio.com/wiki/setAccTime","revid":338949,"updated":"2023-04-18T01:26:22Z","groups":["Time"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Set simulation acceleration coefficient. May also be used to slow time in cutscenes.","syntaxes":[{"syntax":"setAccTime accFactor","since":null,"effect":null,"exec":null,"params":[{"name":"accFactor","type":"Number","optional":false,"default":null,"description":"time factor; 2 will make time go twice as fast, 0.5 half of it, etc","types":["Number"],"since":null,"text":"accFactor: Number - time factor; 2 will make time go twice as fast, 0.5 half of it, etc"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"accFactor","types":["Number"]}}],"examples":[{"text":"```sqf\nsetAccTime 0.1;\n```","code":["setAccTime 0.1;"]}],"multiplayer":"Command is disabled in multiplayer.","problems":"This command is **not** clamped and incorrect values may be entered (negative values, high values, etc - game behaviour is then undefined).","aliases":[],"see_also":["accTime","setTimeMultiplier","timeMultiplier","useAudioTimeForMoves"],"notes":[{"user":"Hardrock","date":"2006-08-04T10:58:00Z","text":"*Notes from before the conversion:*\n\nA good habit to get into is setting the accTime to 1 at the start of all cutscenes, in case the player is running at 4x speed when the scene starts."}],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Time","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}