Trigger volume inside Player controller blueprint
I have created a new Game Mode-Player controller so I can swap from my usual character to a boat. I got it to work, but I want that it only works when the character is inside a trigger volume. The image is the blueprint from the Player Controller. Thanks!
asked Apr 25 '18 at 04:38 PM in Blueprint Scripting
You could either put a trigger in the player bp or boat bp. I suggest the boat. OnOverlap you can check if the player inside the trigger connecting a cast to thirdpersonbp from the other actor. In your thirdperson have a boolean that is "can boat" or something and set it to true if the cast is a success. Then in your "Enter" button press, check if this variable is true and then continue the code. Youre also going to want to set the variable to false once the overlap is exited by the player. Let me know how this works!
answered Apr 25 '18 at 05:11 PM
Thank you, it worked!! But now the exit option doesn't work.
Player Controller Blueprint: Boat blueprint: ThirdPersonBlueprint:
answered Apr 25 '18 at 06:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here