setAccTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 34: Line 34:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>setAccTime 0.1;</code>
|x1= <sqf>setAccTime 0.1;</sqf>


|seealso= [[accTime]] [[setTimeMultiplier]] [[timeMultiplier]] [[useAudioTimeForMoves]]
|seealso= [[accTime]] [[setTimeMultiplier]] [[timeMultiplier]] [[useAudioTimeForMoves]]

Revision as of 11:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Set simulation acceleration coefficient. May also be used to slow time in cutscenes.
Multiplayer:
Command is disabled in multiplayer.
Groups:
Time

Syntax

Syntax:
setAccTime accFactor
Parameters:
accFactor: Number - Factor. Value is clamped to 1/128 - 4
Return Value:
Nothing

Examples

Example 1:
setAccTime 0.1;

Additional Information

See also:
accTime setTimeMultiplier timeMultiplier useAudioTimeForMoves

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 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.