I made a bool type variable in a blueprint script. and I want to use this variable in other blueprint script.
What I am doing is when some actor changes the scale that bool variable changes the value and with this variable changing, the other actor from other blueprint script changes. I don’t have any input or character things…plz help me
As the above answer states, you need references. If you also need help creating references, understanding casting, interfaces and other things mentioned I have a beginner friendly tutorial series you may find useful. The very first video goes over casting, there is also one about references and one on interfaces among others. Hope this helps.
I think the simplest way to get a reference to another actor, is to spawn it in the BP that you plan to reference it (it’s described in the doco). For me, this was one of the concepts that I had the hardest time with… starting out… but once I figured it out… things really fell into place