Difference between revisions of "setAccTime"

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| 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]. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| '''setAccTime''' accFactor
 
| '''setAccTime''' accFactor
  
|p1= accFactor: [[Number]] |= Parameter 1
+
|p1= accFactor: [[Number]] |PARAMETER1=
  
| [[Nothing]] |= Return value
+
| [[Nothing]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>setAccTime 0.1</pre> |= Example 1
+
|x1= <pre>setAccTime 0.1</pre> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[accTime]], [[setTimeMultiplier]], [[timeMultiplier]], [[useAudioTimeForMoves]] |= See also
+
| [[accTime]], [[setTimeMultiplier]], [[timeMultiplier]], [[useAudioTimeForMoves]] |SEEALSO=
  
 
}}
 
}}

Revision as of 15:46, 7 April 2019

Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

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

Syntax

Syntax:
setAccTime accFactor
Parameters:
accFactor: Number
Return Value:
Nothing

Examples

Example 1:
setAccTime 0.1

Additional Information

Multiplayer:
-
See also:
accTimesetTimeMultipliertimeMultiplieruseAudioTimeForMoves

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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.

Bottom Section