setAccTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
(Remove clamp info from Muf_bi_wiki (?) https://community.bistudio.com/wiki?title=setAccTime&diff=82658&oldid=80265)
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= ofp
|game1= ofp
|version1= 1.00
|version1= 1.00


|game2= ofpe
|game2= ofpe
|version2= 1.00
|version2= 1.00


|game3= arma1
|game3= arma1
|version3= 1.00
|version3= 1.00


|game4= arma2
|game4= arma2
|version4= 1.00
|version4= 1.00


|game5= arma2oa
|game5= arma2oa
 
|version5= 1.50
|version5= 1.51


|game6= tkoh
|game6= tkoh
|version6= 1.00
|version6= 1.00


|game7= arma3
|game7= arma3
|version7= 0.50
|version7= 0.50


|gr1= Time
|gr1= Time
|descr= Set simulation acceleration coefficient. May also be used to slow time in cutscenes.


|mp= Command is disabled in multiplayer.
|mp= Command is disabled in multiplayer.


|descr= Set simulation acceleration coefficient. May also be used to slow time in cutscenes.
|pr= This command is '''not''' clamped and incorrect values may be entered (negative values, high values, etc - game behaviour is then undefined).


|s1= [[setAccTime]] accFactor
|s1= [[setAccTime]] accFactor


|p1= accFactor: [[Number]] - Factor. Value is clamped to 1/128 - 4
|p1= accFactor: [[Number]] - time factor; 2 will make time go twice as fast, 0.5 half of it, etc


|r1= [[Nothing]]
|r1= [[Nothing]]
 
|x1= <code>[[setAccTime]] 0.1;</code>


|seealso= [[accTime]], [[setTimeMultiplier]], [[timeMultiplier]], [[useAudioTimeForMoves]]
|x1= <sqf>setAccTime 0.1;</sqf>
 
|seealso= [[accTime]] [[setTimeMultiplier]] [[timeMultiplier]] [[useAudioTimeForMoves]]
}}
}}


<dl class="command_description">
{{Note
<dt><dt>
|user= Hardrock
<dd class="notedate">Posted on August 4, 2006 - 10:58</dd>
|timestamp= 20060804105800
<dt class="note">[[User:Hardrock|hardrock]]<dd class="note">''Notes from before the conversion:''
|text= ''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.
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.
 
}}
 
</dl>

Latest revision as of 03:26, 18 April 2023

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.