Ehm, yes i have an update on this. I looked into the Maximo Animation Blueprint of one of their Characters.
It seems like you need to have some variables set in your Character BP that are used to determine if you are jumping or not.
So for example we have this in the Event Graph of the AnimationBP.
http://puu.sh/cNIUp/2eb95573a8.png
You need to cast this to your own CharacterBP and use your own Bools for this. You could copy this from the MaximoCharacterMaster BP.
So it checks, if “JumpButtonDown” is true, but also checks if we are allowed to jump. I guess the “Enable Jump” could more be read like “Are we already jumping?”. So if we are not already jumping and the button was pressed, set “Enable Jump” to true. This prevents is from jumping while jumping
This will allow the AnimationGraph to transit to either Jump or RunJump (depending on speed).
http://puu.sh/cNIZK/0e320d8bf0.png
Both animation have the same animation notifier which calls the following:
http://puu.sh/cNJmi/0049457a66.jpg
I guess this just checks if we are really still jumping and let the character finaly use the Jump Function.
The bug, with the double jump you noticed could come from wrong set Animation Notifiers.
They are set in the animation Tab if you double click one of the animations. You will see a RED mark with “Jump” near it on the Timeline of the animation. This is the time when it calls the notifier.
http://puu.sh/cNJJQ/a8098c1105.jpg
If you press Jump while standing still, the bool with be set to true (Enable Jump). So it enters the transition to “Jump”. Now if you hold W, it will get back to the Locomation State where it normaly should fire the second Notifier, to set “Enable Jump” to false again BUT this isn’t coming in time, so if you press W, it will try to do the transition to “Run Jump” where the Bool needs to be true (which it still is because of bad timing) AND the speed must be greater than 0.
So if you find the Animation notifier of the locomotion, you could fix it without making your own jump function. Despite the fact that you would need to rework the whole animation BP or otherwise your Jump function needs to look like the maximo one or it won’t work (as you already noticed).
But i can’t find the part where they set this second notify. Maybe someone could tell me, so i can finish this long answer