setAccTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETACCTIME]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETACCTIME]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETACCTIME]]
[[Category:Scripting Commands ArmA|SETACCTIME]]
 
 
<h2 style="color:#000066">'''setAccTime ''accFactor'''''</h2>
 
 
'''Operand types:'''
 
'''accFactor:''' [[Number]]
 
'''Type of returned value:'''


[[Nothing]]
| ofp |= Game name


'''Description:'''
|1.00|= Game version
____________________________________________________________________________________________


Set time acceleration coefficient.
| Set time acceleration coefficient. May be also used to slow time in cutscenes. This command does NOT work in multiplayer. |= Description
____________________________________________________________________________________________


May be also used to slow time in cutscenes.
| '''setAccTime''' accFactor |= Syntax


This command does NOT work in multiplayer.
|p1= accFactor: [[Number]] |= Parameter 1


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


'''Example:'''
|  |= See also


'''setAccTime''' 0.1
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Comments:'''
<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):


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.
[[Category:Scripting Commands|SETACCTIME]]
[[Category:Scripting Commands OFP 1.96|SETACCTIME]]
[[Category:Scripting Commands OFP 1.46|SETACCTIME]]
[[Category:Scripting Commands ArmA|SETACCTIME]]

Revision as of 00:03, 2 August 2006

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

Syntax

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

Examples

Example 1:
setAccTime 0.1

Additional Information

See also:
See also needed

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

Bottom Section

Old Notes (temporary):

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.