I am now working on Items in my game and will be using DataTables to set the actor information. The idea is to not have to set each Actor each time I create an Item. I can Create the Item, call the DataTAble RowName and use that to set the properties.
I know how to set the struct FItem : FtableRowBase, to make the Datatable and add it to the Actor to be referenced.
I am wondering if I can use the Datatable to set the Actor Properties automatically. What I am thinking is to have the Actor properties set by Function using the Datatable to set everything and call that through a DataTable Row Variable.
For instance
ItemData = ItemDataTable
static const FString ItemNameString =(“ItemName”)
Variable = RowName
Function ItemName:
{
ItemDataTable->FindRow(ItemName, ItemNameString, true);
}
could something like this work?