I’m a beginner at unreal and I’m trying to be able to press a button in a widget and have it affect another blueprint. I’m trying to create something like a mannequin that when I press a button, it changes what the mannequin is wearing.
I got this to work by creating a trigger box and having the system use an array to switch assets whenever I walk into the box, but I want to be able to do this from anywhere in the world and not have it be attached to the thirdpersoncharacter.
Could anyone walk be through either how to connect my blueprint with the array to the button in my widget or how to do this in gereral?
You need to add a variable reference to your actor in the widget, in which you want to change something.
Then in the place where you create the widget - in this variable you need to set which specific actor you need.
Here is what my blueprint for the clothes switching currently looks like. I went into the widget and added a variable that looks at my actor, but im not sure what to do now.