Interact Interface Not Calling Interact Function
Author - Cameron Euston
The Problem:
This week I ran into an issue when working on the interact system. The issue was when I would try to interact with a key collectable, it would print the debug message in the blueprint implementable function but not run the code in the interact function in the interface. The interact function was calling the blueprint function but would not run the code in the interact.
The Solution:
I set up debug breakpoints in every place that interact was called. I then found out that none of the breakpoints were hit when I tried to interact. I then went and looked at all references of the blueprint function. This led me to the function in the player that casts line traces to interact with interactable objects. This was only calling the blueprint function and not the interact function. I then switched it to call the interact function and it worked as intended.
Shutdown
Status | Released |
Authors | TheSenate2002, ekicks0, Vrixic, CameronEuston, Boomishhe, mditcharo |
Genre | Puzzle, Adventure |
Tags | First-Person, Singleplayer |
Languages | English |
More posts
- The FinallyApr 27, 2023
- Post Mortem VideoApr 27, 2023
- Fixing issue with Hud not being validApr 27, 2023
- Finalization of GameplayApr 27, 2023
- Circuit Puzzle ChangesApr 27, 2023
- Touching Up SoundsApr 22, 2023
- Level MusicApr 22, 2023
- Getting people to play the gameApr 21, 2023
- Tuning the Lighting in Level 3Apr 21, 2023
- Static Mesh Mass ScaleApr 21, 2023
Leave a comment
Log in with itch.io to leave a comment.