Can you show us the Get Data Table Row function? Also, is this UE5? Just so you know, this is the UEFN / Creative forum not sure if you meant to post in the UE5 forum or here.
(Sorry just typing this out made me cutdown on a lot of thinking)
Essentially, this is a layout of how the tracker is made.
It trickles down collecting suffixes as it goes. Creating a map at the end with the name based on the collected names.
So for example.
You could have Car_White_Pear_Easy that gives a Map.
You could also have Car_black_Pear_Easy that gives the same Map. But you can change them both individually in game due to a difference in Naming.
So, although they use the same data table. You can have individual Maps based on the naming convention.
My problem is how to dynamically make this and save it and load it without creating essentially 100s of maps manually.
This gets extenuated. When you find out that actually I’ve got 3 vehicles. So this diagram multiples by 3.
That’s such an outrageous amount of data filling. There’s no way it couldn’t be dynamically made.
Also, Writing This out made me realize what I’m asking.
Tldr: How do we make maps and then name them for saving?
PS(I did fix the one array that’s slightly lower, lol.)
Now the plan is to attach the data tables and make structs or maps or something at the end that then creates all the required maps and names them under the strings made.
Apparently there’s 180… Hmmm but they all share the same 15 data tables of the final array. also one of the items in the first array doesnt need the second array so Thatll Cut it down too.
Looks like you’re making some good progress, did you get it? I’m trying to follow your chain of thought here but basically I think it sounds like you need to create an array of your data tables and use ‘add to data table’ nodes throughout your nested for loops. then add each data table that is created to the array at the end of the loop. I think it sounds like you’ve already got what you’re looking for if I’m not confused? As far as the name of the data table goes, you can take the loop you made in the post above ^^ and make an additional data slot called name that takes the exact output from your string appending there and uses that for the name for each.
The data table row is undefined, and I can’t break it open to pull anything individual, even if the data tables share the same struct.
(Here I guess I could use “select node” To specify and pull it from there. Not sure yet)
I’m lost as to what Node to continue with to make the containers to save them.
I feel like I’m missing something. There’s a connection or a node or something obvious I’m missing.
How do larger companies track so much data without having to manually make each container.
Can you share a larger screen shot of what you’re working with?
in the screen shot above it looks like you have an array of data tables (flatland array of data tables) that you are looping through.
For each of the data tables, you get a data table from the array by its name. The name you are asking for is the index of the array (which will be returned as an integer) turned into a string, and then turned into a Fname. so the data table row you’re looking for is probably not being found correctly (unless you have them named by integers that are tied to the position of the data table relative of the array it is contained in).
I apologize if I’m not helping here, I might be getting off course. Maybe just a few more screenshots and a little more troubleshooting
how do you make such clean control flow diagrams? Those are sweet I could probably explain my thinking a lot better with them as well but I do see what you’re saying now. I do think the answer is in nested loops still, and as for your question here
I would definitely use a second for loop that cycled through an array of the tables so it would be (without the beautiful diagrams) something like :
for each data table in the array of data tables :
—for each key in the data table’s map :
------create trick name widget
Then for the input to the ‘keys’ value you have there, you would have the output of the last ‘for each’ node - it would be outputting each data map contained in your array of 100+ data tables.
I may be barking up the wrong tree here as well and do apologize also if I’m causing the confusion gotta rest for now but good luck with getting everything figured out
I’m going to have a read through your comment and update. xD the diagrams are all made with draw.io. Free download. I use it If I ever have complicated stories.
But Ive just came to this conclusion which seems to work pretty well.
Its maps nested in structures on repeat. The more layers I need, I add another loop.
I think this is what you were talking about earlier about nested loops.
This latest version, might be the closet I’ve gotten yet.
Last thing is.
How would I save this? (Assumably just pulling the map out like I did the single variable and reinserting it at the end as you would a normal map and then saving the whole thing)