getUnitMovesInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.18 |eff= global |gr1= Animations |descr= Returns various information about the unit animations and gestures |s1= getUnitMovesInfo unit |p1= unit: Object |r1= Array in format: * 0 - Scalar - move progress in range 0-1 * 1 - Scalar - move elapsed time ({{hl|move progress * move duration}}) * 2 - Scalar - move duration * 3 - Scalar - move blend factor * 4 - Vector3D - move rtm step * 5 - S...")
 
mNo edit summary
Line 4: Line 4:
|version1= 2.18
|version1= 2.18


|eff= global
|arg= global


|gr1= Animations
|gr1= Animations

Revision as of 13:28, 26 February 2024

Hover & click on the images for description

Description

Description:
Returns various information about the unit animations and gestures
Groups:
Animations

Syntax

Syntax:
getUnitMovesInfo unit
Parameters:
unit: Object
Return Value:
Array in format:
  • 0 - Scalar - move progress in range 0-1
  • 1 - Scalar - move elapsed time (move progress * move duration)
  • 2 - Scalar - move duration
  • 3 - Scalar - move blend factor
  • 4 - Vector3D - move rtm step
  • 5 - Scalar - gesture progress in range 0-1
  • 6 - Scalar - gesture elapsed time (gesture progress * gesture duration)
  • 7 - Scalar - gesture duration
  • 8 - Scalar - gesture blend factor

Alternative Syntax

Syntax:
unit getUnitMovesInfo index
Parameters:
unit: Object
index: Number
Return Value:
Any - Depends on the index (see the main syntax)

Examples

Examples:
Example needed

Additional Information

See also:
switchMove switchGesture moveTime

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