How can I get the variable iAB to a second class blueprint?

Hello,

I have 2 questions :slight_smile:

The really importand one ist this:

I have a variable witch is counting down at the Class Blueprint A. I’m trying to get the variable iAB to a second Class Blueprint “B”. But I dont know how to get it. Make it public doesn’t work.

I know that there can be mistakes if the Variable is not alive. But i will fix this later. At first I like to make it run :slight_smile:

In C++ I would do it with a class funktion. For example:

 ...
private:
int iAB = 3;
 ...
public:
Get_iAB() {
return iAB;
}
...
    
Class::Get_iAB();

. Hope some people now know better what I mean :slight_smile:

The Problem is I can find no return function in Blueprint.

The 2. one.

This visual scripting is a nice song but I learned C++ some time ago. So are there some tutorials in C++?

Thank in advance.

Sorry for my english :X

Greez

Rok

You should watch the Blueprint Quick Shot videos on Unreal Engine’s youtube playlist.
They cover all of that.

There are also explanations in the documenation under Blueprint Communication.

Oh Thanks. Haven’t seen this Videos. Only the Basics. Thank you.