Page MenuHomeFeedback Tracker

[Feature Request] New syntax for switchMove
New, NormalPublic

Description

The switchMove command is extremely limited and was made very lazily. It's the only way for scripters to make animations without modifying the anim graph (i.e. creating new paths). So it should be more flexible.

I'd like to request more parameters that give better control to scripters that need this command:

unit switchMove [moveName, interpolationSpeed = 0, offset = 0, resetAim = true]

With the default values provided, the command should be similar to the current switchMove.

interpolationSpeed: allows for smooth transition from current anim. Similar to interpolationSpeed parameter in CfgMoves.
offset: play the move at the given time offset. this allows users to create a functional unitCapture for units (it has been requested many times, and VBS has it too). Plus you can only play a certain part of the animation that you need without modifying the rtm.
resetAim: right now switchMove resets the aim/head which causes a terrible camera jerk because aim is restored in the next frame. The aim should be restored in the current frame when resetAim is false.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Leopard20 created this task.Sat, May 7, 3:06 PM
Leopard20 updated the task description. (Show Details)Sat, May 7, 3:16 PM
Leopard20 updated the task description. (Show Details)
Leopard20 changed Severity from None to Feature.Sat, May 7, 3:21 PM
Leopard20 changed Category from General to Scripting.
Leopard20 updated the task description. (Show Details)Sat, May 7, 3:28 PM
Leopard20 updated the task description. (Show Details)
h- added a subscriber: h-.Sat, May 7, 4:57 PM
POLPOX added a subscriber: POLPOX.Wed, May 11, 1:53 PM