Hey guys I want to create a customization system with stuff you can unlock as you complete missions. Is there a correct way to do this? Should I use data table, tons of branch haha? Hope someone can help
First thing to know, is there is no fixed way of doing anything.
If it’s just a list of goals or targets, then an array of booleans is enough.
I was thinking about a data table with a boolean…would be possible to set the value of the boolean from outside the data table?
Yes, you can set the data table from blueprint.
Every row has a mesh and a boolean. How can I set the boolean ‘true’ for one specific row?
My bad, I just looked it up, you can’t update the data table from BP. It’s a static thing, so not good for inventory stuff.
Inventory is usually stored on the player, in various data structures.
Data table would be fine but i need to unlock the items…what a shame they can’t be edited thanks dude
I think a data table is meant to be a way of just getting stuff into the system, like CSVs etc.
Structures and arrays are what you need