playMoveNow: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 22: | Line 22: | ||
The difference between [[playMove]] and [[playMoveNow]] is that [[playMove]] adds another move to the move queue, while [[playMoveNow]] replaces the whole move queue with new move (see {{Link|#Example 2}}). | The difference between [[playMove]] and [[playMoveNow]] is that [[playMove]] adds another move to the move queue, while [[playMoveNow]] replaces the whole move queue with new move (see {{Link|#Example 2}}). | ||
{{Feature|informative|see [[:Category:Moves]] for respective games animations.}} | {{Feature|informative|see [[:Category:Moves]] for respective games animations.}} | ||
{{Feature|important|A transition is only possible if the current and provided animation nodes are connected to each other in config (via connectTo/From and interpolateTo/From).}} | {{Feature|important|A transition is only possible if the current and provided animation nodes are connected to each other in config (via connectTo/From and interpolateTo/From). The connection can be indirect (using intermediate animations) }} | ||
|s1= soldier [[playMoveNow]] moveName | |s1= soldier [[playMoveNow]] moveName |
Latest revision as of 21:28, 1 June 2025
Description
- Description:
- When used on a person,a smooth transition to the given move will be initiated, but all previous playMove are discarded.
The difference between playMove and playMoveNow is that playMove adds another move to the move queue, while playMoveNow replaces the whole move queue with new move (see Example 2). - Groups:
- Animations
Syntax
- Syntax:
- soldier playMoveNow moveName
- Parameters:
- soldier: Object
- moveName: String
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- playMove switchMove playAction playActionNow
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