setAccTime

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
Problems:
This command is not clamped and incorrect values may be entered (negative values, high values, etc - game behaviour is then undefined).
Groups:
Time

Syntax

Syntax:
setAccTime accFactor
Parameters:
accFactor: Number - time factor; 2 will make time go twice as fast, 0.5 half of it, etc
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
Hardrock - c
Posted on Aug 04, 2006 - 10:58 (UTC)
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.