Variable not in scope? Help?

So i just cant fathm why this wont work. I am trying to retrieve the the boolean variable to tell the character whether it is his turn or not. However, no matter how much research and different methods i use, the same error of variable not in scope always appears. Any help would be greatly appreaciated!

Is the cast successful?

Im not sure what you mean by that. Sorry could you elaborate on what you mean?

As you can see, the cast node has a Cast Failed pin, the cast can fail for many reasons. Place a Print String node after the cast and see if it prints anything.

Just gave it a go and have now realised that yes the cast was failing. Any Idea of how i can fix it? Thanks for the help!

I would make sure you have the correct Game Mode class set.

You can set it in:
Project Settings->Maps & Modes->Default Game Mode

Or directly in the level:
World Settings->Game Mode->Game Mode Override

Also, if this is a multiplayer game, be careful because there is no Game Mode available to clients (server only).

Just gave it a go and have now
realised that yes the cast was
failing. Any Idea of how i can fix it?
Thanks for the help!

Yup, this sounds about right.