accTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (formatting and named params and description)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp


|1.00
|version1= 1.00


|gr1= Time
|gr1= Time


| Returns the current time acceleration factor
|descr= Returns the current simulation acceleration factor.


| [[Number]] <nowiki>=</nowiki> '''accTime'''
|s1= '''accTime'''


| [[Number]]
|r1= [[Number]]
   
   
|x1= <pre>_acc = accTime</pre>
|x1= <code>_acc = [[accTime]];</code>


| [[setAccTime]], [[setTimeMultiplier]], [[timeMultiplier]], [[useAudioTimeForMoves]]
|seealso= [[setAccTime]], [[setTimeMultiplier]], [[timeMultiplier]], [[useAudioTimeForMoves]]
}}
}}


Line 26: Line 26:
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


[[Category:Scripting Commands OFP 1.99|ACCTIME]]
[[Category:Scripting Commands OFP 1.99|ACCTIME]]

Revision as of 10:51, 5 February 2021

Hover & click on the images for description

Description

Description:
Returns the current simulation acceleration factor.
Groups:
Time

Syntax

Syntax:
accTime
Return Value:
Number

Examples

Example 1:
_acc = accTime;

Additional Information

See also:
setAccTimesetTimeMultipliertimeMultiplieruseAudioTimeForMoves

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
Posted on August 2, 2006 - 03:10
Hoz
Use setAccTime to change the time acceleration factor. Not to be confused with skipTime.