Problem using DataTable Inputs

I want to create a simple crafting system.

And for the logic I plan on doing this:

  1. Get Name of Item to craft
  2. Lookup in Item List DataTable
  3. Get Required Crafting Materials DataTable from Item Blueprint
  4. Lookup Items Required Materials in Crafting Material List DataTable

Then I simply check if required materials are present in inventory, and if so remove them and add the Item to inventory.
There is only one issue I found with this approach.

And that is that I for the life of me, cannot get Unreal to take a DataTable variable as an Input for the ‘Get Data Table Row’.
When I hard code it by using the dropdown it works no issues:

But the moment I try to add the DataTable it wont allow me it will throw an error:

Now I understand that having a single node and using any data structure as outputs makes no sense, but in this case I would only be using DataTables of the same DataStructure.

So is there no way to dynamically use a different DataTable? Even if they are of the same structure?

just connect a break node for that struct (right click → search break {Your Struct Name}) to Out Row.

1 Like

Great thanks, that’s exactly what I needed!

For anyone else who has this issue in the future:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.