Hi there…
I ran into a problem when trying to create a simple Autotiling system, based upon Structs.
To Create a Tile based on 4 Subtiles, i created the following Struct to hold the 4 Subtile IDs:
Now, i check Bitwise if a the surrounding Blocks of my Tile are blockable or free. This is working that way:
And results in those 16 Tiles:
Now… my Struct has 16 Fields. Each Filed has a Number as Name (from 0…15).
With the following Blueprint, i´m checking Bitwise for the Blocks, and get a result BIT from 0…15:
The Question is now:
How am i able to GET a Field of my Struct, by its Name?
Like:
"Struct get (AutotileStoreBit.ToString)"
Cause all i found via Blueprint is to break my Struct… and this results in:
So, is there a way to Get a Field of a Struct via its name, or/and can someone make me a Node for it if there isn´t one?
thanks for reading