Im trying to have two different jump heights depending on what animation in my animbp

My problem is i want to have an idle jump and walking jump that use two different z values. I want my idle jump to be able to jump higher than my walking jump. I added a notify to my anim but i cant seem to find anything that i can set my z value?

Anim notifies create events that are available in blueprint, you’ll want to implement your jump z modification in your event graph or cast to your anim blueprint and modify it in your character blueprint.

In the character blueprint you can change the jump height depending on the velocity (for example). If velocity > 0 → jump “normal”, else jump higher.

If you have different animations, you can use that same condition to choose between both idle → jump and moving → jump.

Similar theory to this.

Do not use notifies.
@Graylord you should know that they aren’t the least bit reliable.
If anything, you can add a curve to your animations that dictates the jumpZ to use (not as a growing curve but as a fixed number).

Pezzotti has the right idea.

Note that adding the curve and reading the curve is a lot more performance demand than simply setting some value and choosing one based on pre-calculation.
I’m really only mentioning the curve because notifies were mentioned. There’s probably no reason to use either.

Thanks everyone for the suggestions. I ended up setting it on the event graph on my character. I used character velocity as parameters speed =0 do x height . speed is x-x do this and so on.

I’ve had some issues with notifies the end and start of animations, but other than that they’ve been working for me. I hadn’t considered using keys on the curve track instead though.