Hi,
I am busy making some blueprints, but I still cant figure out how to access child component variables.
A simmilar problem (still unsolved) is described in this post here: https://forums.unrealengine.com/showthread.php?66359-How-to-access-child-components&highlight=access+child+actor+component
Now I have a simmilar situation and just cant figure out how to do it. :o
Lets say we have a blueprint with some public/editable variables like this one:
It has an integer called “FloorCount”, an enumerator for the column type and an actor variable, called “Datasource”
In the construction script, the BP reads from the Datasource and creates the fassade column as defined there.
The “FassadeTable” basically just holds the column description data.
That works out really good so far.
Now I want to make a Blueprint that creates a row of those columns.
It also has a variable to the “FassadeTable” datasource and a integer variable for the number of columns to create.
As you can see, the child components are properly spawned, but the column are not there.
That is because the child component’s “Datasource” field is still empty…
This is how the construction script for the FassadeRow Blueprint looks like:
So now after I created the child actor component (of class type “FassadeColumn”), I cant figure out how to set its “Datasource” and “FloorCount” values…
If I pull out from the created actor output node, the menu doesnt offer me much:
When I disable the context sensitivity, I can choose between two “Datasource” elements.
The “default” one is the one of my TableRow script, so lets try the other one…
Nope, doesnt work. Neither does it work for the FloorCount…
Soo. What am I doing wrong. How can I set the FloorCount, Columntype and Datasource for the child actors
Thanks for any help
Cheers,
Klaus