Entity:SendViewModelMatchingSequence
Description
Sends sequence animation to the view model. It is recommended to use this for view model animations, instead of Entity:ResetSequence.
This function is only usable on view models.
Predicted viewmodels will have their sequence and cycle reset during prediction checks, making this function appear to do nothing unless also called on the server.
Arguments
Example
Converting an ACT_VM_*
enumeration to a sequence usable by the function.
Output: Sends the primary attack enumeration sequence to the view model and plays it.