Ive read through the documentation and seen a few good examples on animation montages, such as the shotgun with the loopable ‘middle’ section. I understand how an animation montage does this within a single asset, but what I think the documentation dosent give a great example of is why you would use a montage when there are other ways to do that exact same thing.
For example, why wouldnt you just use a state machine to play the start, loop the middle based on the number of shells left to load, then play the end, and back to idle. What im confused is fundamentally why state machines are a worse or better choice than a montage.
Im working on a game at the moment, and have set up multiple detailed locomotion blueprints for the 3rd person, and understand how they work. Its all done with Blendspaces and works really nice! Im now working on a slightly different thing though. Im trying to set up my first person AK74 animations.
I have first person arms, and an AK74, which I have a good animation set for.
Just as an example, here are some of the animations I have.
Shoot hip fire (x3) for variation
Shoot ADS (x3)
Now ive set up an animation BP for both the arms and gun, and made it work with almost all of these animations as states, being driven by simple variables and rules on the transitions, and it works. The first issue ive come across was shooting.
I tried to use the blend on int node to play random shots, but quickly found that there is no way to reset an animation in a state machine once ive blended out of it, so essentially I couldnt fire automatically. From a bit of research, it appears a montage can solve this issue, as afaik, theres ultimately more control programatically with whats going on with your animations there?
So heres the question really. Why would I use a montage for the other stuff, such as reload. Even for a shotgun, I can still use states to drive the looped part? What about the other stuff, run, walk jump, Im unsure on what that cut-off point is where it makes more sense to use montages fired from the event graph than use a nice clean state machine.
The only example I could think of for why you would want to do a reload via a montage, was for example, as you level up, you can perform the reload animation a little bit faster, and you can set the rate of the montage based on variables, where as you simply couldnt do that inside a state machine.
Thank you in advance for any help, and I hope it helps others whom may come across a similar question in the future and come across this thread!