Some of my blueprints fail (I THINK) due to “variable not in scope” issues. Can someone better explain this to me? I don’t come from a coding background. Check my example below…
So basically, I have a trigger volume set in a level. I want to check to see if a given blueprint component (the “LOS Marker” in my “BP_Down_and_Distance” blueprint) is overlapping this trigger volume…and if so, I want to hide some actors.
What results is that I can NEVER get the branch node to check as TRUE…and I BELIEVE it has to do with the tooltip seen in the image. When I highlight the topmost input of the “= =” node (coming from the “Other Actor” portion of the overlap event), I get a “variable not in scope” message.
A) Why am I getting that message?
B) How do I fix it?
C) How do I avoid variable “in scope” issues altogether? Is there a best practice here?