setAccTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (template:command argument fix)
(9 intermediate revisions by 7 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set time acceleration coefficient. May be also used to slow time in cutscenes. This command does NOT work in multiplayer. |= 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]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''setAccTime''' accFactor
| '''setAccTime''' accFactor


|p1= accFactor: [[Number]] |= Parameter 1
|p1= accFactor: [[Number]] |PARAMETER1=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>setAccTime 0.1</pre> |= Example 1
|x1= <pre>setAccTime 0.1</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[accTime]], [[setTimeMultiplier]], [[timeMultiplier]], [[useAudioTimeForMoves]] |SEEALSO=


}}
}}
Line 28: Line 28:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on August 4, 2006 - 10:58</dd>
<dd class="notedate">Posted on August 4, 2006 - 10:58
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><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.
</dd>
 


<!-- Note Section END -->
<!-- Note Section END -->
Line 40: Line 40:


[[Category:Scripting Commands|SETACCTIME]]
[[Category:Scripting Commands|SETACCTIME]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[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 ArmA|SETACCTIME]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:46, 7 April 2019

Hover & click on the images for description

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].
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
setAccTime 0.1

Additional Information

See also:
accTimesetTimeMultipliertimeMultiplieruseAudioTimeForMoves

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

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