Hi, i’m using a script for double jumping, and i need the height of the second jump to be half the height of the characters jump. Thank you very much .
i think its also probably worth mentioning that my game makes use of pickups that incrementally increase your jump height as you collect them
hey there,
would be cool if you show your script to help you in your specific case.
So without it i would something like that.
Variable sprintheight = somevalue;
bool InFirstJump = false;
Event Press jumpkey →
if (InFirstJump)
{
InFirstJump = false;
do your jump with value of sprintheight / 2;
}
else
{
InFirstJump = true;
do your jump with value of sprintheight;
}
Additional:
When player hits the ground after the first jump you need to
set InFirstJump = false as well.
best regards
heres the blueprint I use for jump
Thank you very much , I really appreciate the help. I’m very new to blueprint, and i’m still having a little trouble between the launch character and float node. again, you’re help is greatly appreciated.
thank you for your help
Hi ,
It looks same, except you setup all vector components to same value.
Try this: break link launch velocity. Right click on Launch Velocity → Split Struct Pin and connect variable only to Z component.
Thank you!