I want to create a simple crafting system.
And for the logic I plan on doing this:
- Get Name of Item to craft
- Lookup in
Item List
DataTable - Get
Required Crafting Materials
DataTable fromItem
Blueprint - 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?