C++ equivalent of Play Montage

How can the functionality of Play Montage from Blueprints be achieved in C++? I’ve tried Montage_Play

MyMesh->GetAnimInstance()->Montage_Play(GunFireMontage, 2.f);

But this does not work. I suspect it may be interrupted by other animations. Does this need to be “queued” and play asynchronously? What’s the significance of the clock in the upper right corner of the BP node?

353105-capture.png

There could be a myriad things at fault here, and we have little information to help you…
Is there an AnimBP we can see? Is the montage perhaps playing in another slot you are not ‘slotting’ in into you animation graph?

By the way there is another function straight out of the Pawn that can play an animation as well, have you tried that?