and i can’t figure out how to make new rows, I want to make a new row with that playerid as the name (other stats are default and don’t need to be added other then display name
Also should I just put this on the controller so when the controller/character joins it will automatically attempt to create the players data? if i were to make this a function and put it on eventbeginplay?
I think a better way to phrase it, is i want to insert the characters info into the table.
Datatables cannot be modified. But you can use a simple array of the structure you would use for the datatable, and use the standard save system (save game slot).
Should it be enough for your needs?
No, only from what i get is the save game slot, is the same as a local save of your game and mine i’d like mysql but i can’t figure it out since i only do some blueprinting and not c++ (atleast the part with integrating it into the game.
Game would be multiplayer with a dedicated server.
It seems that if you want to make a connection with a MySQL database, you will have to make your own plugin in C++
But I don’t see how you relate the UE datables and MySQL databases. They are very different things. You can see the UE datatable as a bank of data to drive values of your gameplay (for example, a loot table).
Would like to share how to add a row to a Data Table that is using blueprint structs.
Unfortunately this only works in editor and can’t do a packaged build with it.
In the header file:
After wasting a lot of time messing about with different suggestions I found short of using reflection this is the only method that actually works for adding rows to a table with data from C++. It appears the plugin is experimental so perhaps use with caution but it worked first time- Thanks you so much [danie_grobbelaar]