setAccTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= Time |GROUP1=
|gr1= Time


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


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


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <pre>setAccTime 0.1</pre> |EXAMPLE1=
|x1= <pre>setAccTime 0.1</pre>


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


}}
}}

Revision as of 12:02, 18 January 2021

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:
Time

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.