I need to spawn an actor into the world which should read a public variable (in this case, a user-input string), but since it spawns, I can’t find a way to point the spawned actor towards the actor that owns the public variable (a virtual keyboard).
The spawned actor is sort of a ‘settings summary’, it’s created after the user inputs various pieces of information with a virtual keyboard and option drop down menus, and needs to display the results of all of this user input which it reads via public variables of other Blueprints. It needs to be dynamically spawned because an indefinite amount of these need to be created by the user.
With actors placed in the game, the drop down menu in the Details pane solves this issue, since you can tell it which actor in the class you want it to be able to communicate with (see image)](http://i.imgur.com/WnlyJQW.jpg). My spawned actor is spawned at run-time and so there’s no way to define this - it needs to be done in the construction script, but how?
You can “Get all actor of a class” in the world but have his problems in some situations but its hard known what do you exactly have in mind hehe
not sure how your planning your logic, but sometimes its better not try break a rock that blocking your way because sometimes its impossible in that way and the better its rethink all again and choose other way.
Try Get All actors… that work for get the bluprint01 instance reference and if you have other problems perhaps its better rethink how all that going to work together.
I think this has solved my problem for all scenarios where I’d need it, but just out of curiosity, what would you do to have the spawned object read the variable again, or another variable after it has been spawned? I tried with Get Actor Class, and it seemed like the right thing to use, but I couldn’t seem to plug in its return value to tell the spawned actor which specific actor-in-class I wanted to read the variable from.