x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Data Tables and Adding new rows via Blueprint

Essentially What i'm trying to do is Get datatable row info on "SavedLevelData" Like saves your level, exp, steam id, name) ![alt text

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.

Product Version: UE 4.10
Tags:
more ▼

asked Apr 02 '16 at 06:34 AM in Blueprint Scripting

avatar image

Noobular
6 2 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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?

more ▼

answered Apr 02 '16 at 09:40 PM

avatar image

Begounet
950 35 27 50

avatar image Noobular Apr 03 '16 at 10:50 AM

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.

avatar image Begounet Apr 03 '16 at 11:57 AM

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).

avatar image Noobular Apr 03 '16 at 12:03 PM

Yea, I thought they were practically small in engine databases where i could actually use them as a local mysql database. .. well local for the server.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

If you want to save your game, UE4 has a built-in you can use: https://docs.unrealengine.com/latest/INT/Gameplay/SaveGame/Blueprints/index.html

more ▼

answered Oct 25 '17 at 06:18 AM

avatar image

failrate
6 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question