setAccTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) (Remove clamp info from Muf_bi_wiki (?) https://community.bistudio.com/wiki?title=setAccTime&diff=82658&oldid=80265) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
|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. | ||
| | |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]] - | |p1= accFactor: [[Number]] - time factor; 2 will make time go twice as fast, 0.5 half of it, etc | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>setAccTime 0.1;</sqf> | ||
|seealso= [[accTime]] [[setTimeMultiplier]] [[timeMultiplier]] [[useAudioTimeForMoves]] | |seealso= [[accTime]] [[setTimeMultiplier]] [[timeMultiplier]] [[useAudioTimeForMoves]] | ||
}} | }} | ||
{{Note | |||
|user= Hardrock | |||
|timestamp= 20060804105800 | |||
|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. | ||
}} | |||
Latest revision as of 02:26, 18 April 2023
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Time