useAudioTimeForMoves: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Animations|GROUP1=
|gr1= Animations|GROUP1=
____________________________________________________________________________________________


| Switch between elapsed game time and audio time being used as animation timer. Used for audio/animation synchronization. |DESCRIPTION=
| Switch between elapsed game time and audio time being used as animation timer. Used for audio/animation synchronization. |DESCRIPTION=
____________________________________________________________________________________________


| soldier '''useAudioTimeForMoves''' toggle |SYNTAX=
| soldier '''useAudioTimeForMoves''' toggle |SYNTAX=
Line 25: Line 22:
|x1= <code>player useAudioTimeForMoves true</code>|EXAMPLE1=  
|x1= <code>player useAudioTimeForMoves true</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[setAccTime]], [[accTime]] |SEEALSO=  
| [[setAccTime]], [[accTime]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 05:18, 17 January 2021

Hover & click on the images for description

Description

Description:
Switch between elapsed game time and audio time being used as animation timer. Used for audio/animation synchronization.
Groups:
Animations

Syntax

Syntax:
soldier useAudioTimeForMoves toggle
Parameters:
soldier: Object
toggle: Boolean
Return Value:
Nothing

Examples

Example 1:
player useAudioTimeForMoves true

Additional Information

See also:
setAccTimeaccTime

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

Bottom Section

Posted on January 30, 2019 - 16:15 (UTC)
.kju
Makes movement (simulation) speed independent off accTime. So you can move "normal fast" in slow motion, and move "normal slow" in fast time.