Communicating between scripts

I always fail… period…when it comes to making two things talk to each other.

Is there someone who can link a very very precise talk on this topic?

Same goes for C++, right now I am in the situation where I have to simply make my one player controller connect to the visibility of an actor wall component. And I just get all sort of ■■■■ thrown at me.

  1. “Its not a reference”
  2. “Non static” then when i change it to static void, it says “oh now stuff inside your void is not referencing”

i seriously need to get my head around how this is working in a simple nice video. Anyone, please, ive spend a year and a half on learning this and im still stuck on the basics when it comes to understanding this part.

Have you tried looking into events?

for c++