Hi ,
Yes its fairly easy to do.
Take a look at the vine code here as an example:
The idea is that once the player enters the trigger, variable ‘IsClimbingVine’ is set to true. This is a STATE variable used for the animation and to drive vine climbing behavior. Your goal is to change the vine code so it sets a new variable that allows the player to press ‘E’ to then set ‘IsClimbingVine’ to true.
So if we take a look at the ladder example (you need to press ‘E’ to climb):
Go to INTERACT PRESSED like in this image and look at the climb on ladder code
Open the graph and notice what Im doing:
On the green Im checking whether the player CAN climb the ladder if he presses ‘E’
On the red, Im setting the actual STATE to climbing the ladder
So now lets assume you want the player to press ‘E’ to climb vine.
- On the Character BP create a new variable and name it "CanClimbVine’ as a bool.
- Go to the ClimbingVine BP and change SET ‘IsClimbingVine’ to SET ‘CanClimbVine’
- Now go to INTERACT PRESSED and add another node to sequence.
- This new sequence will have a new branch that will check whether ‘CanClimbVine’ is true. If true, then SET IsClimbingVine’ to true (this is the exact same as the image above).
This is the case for the zipline and edge as well. Follow this example and you can change those as well.
Hopefully I explained the logic clearly here. Let me know if you still need some help.
Thanks!


