I am using Get All Actors from Class to reference my blueprint. Then I Cast to that blueprint reference and I feed the return value into my Actor Variable.
How do I pull the variables loaded on that actor?
I am using Get All Actors from Class to reference my blueprint. Then I Cast to that blueprint reference and I feed the return value into my Actor Variable.
How do I pull the variables loaded on that actor?
Pick the output pin with your refrenced object and drop it anywhere, it will open list with all nodes you can connect to, this includes all variables in it (if they are public)
Ok, so this seems to be a common recurrence. I do everything exactly as it should be done, but the context menu doesn’t show everything that it is supposed to.
Then, maybe 1 restart, maybe several restarts later, it magically shows the correct context.
It seems like the context menu has some problem updating with the correct information.
Well maybe I spoke too soon.
Here is what I am trying to do:
How do I get the “Get World Data Actor” to pull the information being set into it?
Change the Variable type of “World Data Actor” Variable in that Blueprint to “WorldData” not Actor.
Use get funtions?
I can get it out of the cast, but I can’t get it out of the World Data Actor that I attempted to set using the world data blueprint.
How do I take the World Data blueprint, imprint it into the World Data Actor Variable, and then pull the data stored within?
World Data Actor is the variable. WorldData is the blueprint. I want to put the data from WorldData on World Data Actor and then retrieve it later.
Hmm did you set object type of your variable to WorldData?
That works! I just had it set as an object. So what I needed to do was set it’s variable type to match the blueprint I want to match.
The only question I have now is why you would Set the World Data variable with the blueprint reference if it is already holding the information as a blueprint variable?
I referenced some work a dev did when I created this block in my blueprint and they set their variable using the cast.