As the title suggests, I want to create a function where, upon collecting a certain item, the player can jump for a limited amount of time.
I modified the jump section of the Event Graph in “BP_ThirdPersonCharacter” as shown in the image. I created a variable called “CanJump,” set its default value to false, and made it so the player can only jump when this variable is true.
The second image shows the blueprint for the item. I intended to set the “CanJump” variable to true for a limited time (using a Delay) when the player overlaps the box collision, allowing them to jump during that period.
However, I got stuck and don’t know how to proceed from there. Could someone please help me out?