I’m trying to make an interaction system, but only part of the code works in my project and I don’t understand why.
I wanted the player to be able to interact with the object in different ways:
open object in widget, rotate and explore
open an object in a widget and get text info (would be used for a book, etc.)
interact with the object without opening it in the widget (for example, the player interacts with the picture and the character says something)
I did the first interaction but got stuck on the second one. I’m using a third person character template, but the interaction will switch to the first person camera.
But it doesn’t work, the game doesn’t read the object type “letter” ((((
Can anyone suggest what I am doing wrong and why this part of my code is not working? I would be grateful for any help)
Could you clarify which part of the script does not work?
Does this actor receive the message? Print a string here. Does it print? If so, does the widget show up? Do tell when it stops working. Do assume I know nothing about what you’re up to