Just to make sure I understand correctly: The player walks into the trigger area, this causes a widget to appear. Should the player press the right button, the path is supposed to be shown. (?)
If I got that right you could make a custom trigger class with a path-instance reference variable stored in it and check “Instance editable” as well as “Expose on Spawn”. This allows you to set the reference inside the level editor. You can pass this variable down the chain and just unhide the path once the button is pressed. (However if you don’t want circular dependencies you would want to use event dispatchers.) Let me know whether this helps.
Hi newbie ninja with a question for any kind being willing to help!
So I have a part in my game where the player will need to select the correct card in order to finish the path. The cards pop up on screen (via a widget) when the player walks over the trigger. Right now I have the path(actor) set as hidden in the level but I want them to be visible once the button is pressed.
I feel like this could be a simple solve and I’m just overthinking it.
Thanks in advance for the help!
Yes, that’s correct. Is it possible that you could post some screen shots of this process? Thanks!
There are a lot of ways to do this. I’ll go with the quickest to show.
290066-
Tell me if you get it working with this.