user can edit value inside database in ue4

Hello
I want to make a manager football game system
I want the user being able to edit data inside the database
for example, this is the default database, when the user pkay the game for first time

Then the user, after some click, he can hire certain soccer players
so the database look like this
YES HIRE

therefore the game shows in the user interface only the “hired” soccer, so the user can see all the players he hired for the season 1

your team

so, after a season 1, the user can hire, fire, maintain soccer players

You cannot write to DT in BPs, you’d need plugins to handle that. However, you can move the entire DT to a Map:

From now on you’re free to write data, which can also go directly into the save game.

  • to make a map:

  • to update its entry:

A map variable like this is pretty much the same as the DT but without the glorious interface. It’s just pure data. The above is a pseudoscript but it’s pretty close to what a working version would look like.


Think of the Data Table of static data, default settings so to speak.

the problem is that the datatable has at least 500 players, with different properties, adding 1 by 1 seems like a slow and tedious process

Do it in Excel, or any other spreadsheet and import. No need to do it inside the editor.