How do I create this Variables?

Hi Guys, I’m following a tutorial but I’m stuck, I have to recreate these variables:

I tried in several ways but really do not understand if it is a base variables of Editor, or you must create it from zero.
Thanks.

You need to create them within the GridCreator blueprint so they can be accessed from other blueprints via the “cast to …” nodes.

So if I understand correctly, in this place I have to add the Grid BP:

If the place is right, then I have to change something probably a stupid thing.
Thank you so much for helping me.

Nothing of the sorts. You just have to create the variable within your “GridCreator” blueprint. Nothing special. Just the “+V” button on the top.

Then pull out the result of your cast (the blue circle) and search for “Get [variableName]”.

I’m definitely doing something wrong ^^ this is my BP for “GridCreator”:

As you can see there are the variables, only in that another BP (AI_Actor) there is no way to call this variables.
I tried to to make another in the AI_Actor BP, but I can not merge them like in the first screen.
As I said it is definitely a simple mistake, but that stopped me.

Because they don’t exist in that blueprint. You have to get them from “Grid” blueprint which you do by using “Cast To Grid”.

Then you pull out the blue wire from that node which from then on is from the type of that blueprint and the instance you casted (if you have 10 of those blueprints in your level it will still only access this one).

And with that wire you can search for “Get [VariableName]”.

I marked it with a red arrow on your picture. Just pull out that line because your initial blueprint can not possibly know that variable.

I just spit in my face by myself :slight_smile:

I used the BP Grid2 instead of Grid :frowning: I knew it was a simple thing but that stopped me for two days xd
Thank you so much for the help you have given me.