Difference between revisions of "setAccTime"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (added cmd group time)
 
(6 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| ofp |= Game name
+
| ofp |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 29: Line 29:
  
 
<dd class="notedate">Posted on August 4, 2006 - 10:58
 
<dd class="notedate">Posted on August 4, 2006 - 10:58
<dt class="note">'''[[User:Hardrock|hardrock]]'''<dd class="note">''Notes from before the conversion:''
+
<dt class="note">[[User:Hardrock|hardrock]]<dd class="note">''Notes from before the conversion:''
  
 
A 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.
 
A 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.
Line 43: Line 43:
 
[[Category:Scripting Commands OFP 1.96|SETACCTIME]]
 
[[Category:Scripting Commands OFP 1.96|SETACCTIME]]
 
[[Category:Scripting Commands OFP 1.46|SETACCTIME]]
 
[[Category:Scripting Commands OFP 1.46|SETACCTIME]]
[[Category:Scripting Commands ArmA|SETACCTIME]]
+
[[Category:Scripting Commands Armed Assault|SETACCTIME]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Command_Group:_Time|{{uc:{{PAGENAME}}}}]]

Latest revision as of 08:40, 13 July 2020

Introduced with Operation Flashpoint version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Set time acceleration coefficient. May be also used to slow time in cutscenes. This command does NOT work in multiplayer. accFactor is clamped to [1/128; 4].

Syntax

Syntax:
setAccTime accFactor
Parameters:
accFactor: Number
Return Value:
Nothing

Examples

Example 1:
setAccTime 0.1

Additional Information

See also:
accTimesetTimeMultipliertimeMultiplieruseAudioTimeForMoves

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Posted on August 4, 2006 - 10:58
hardrock
Notes from before the conversion: A 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.

Bottom Section