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"

How do I use DataTables with Blueprints?

Hello, as the title says, how do I use DataTables with Blueprints? I get an error each time I import my .csv file, it's something along the lines of "Expected column 'hello' not found in input.". I think it's a bug, though I'm not sure.

So how my things are set up:

My .csv file looks like this:

 hello,world
 1230,4560
 1231,4561
 1232,4562
 

And my blueprint struct looks like this: http://gyazo.com/1808d56a4a859618c566f20f842a7e02

I make sure to import the DataTable with the Blueprint struct like this: http://gyazo.com/cd4971adf854e68fc3f3a9d47d7e40e0

So I have no idea why it's not working (other than thinking it's a bug). :(

Product Version: Not Selected
Tags:
more ▼

asked Dec 03 '14 at 11:47 AM in Blueprint Scripting

avatar image

Wrekk
77 23 24 28

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Here is the whole step by step workflow, without any need for C++

http://www.ue4u.xyz/2015/09/09/datatables-without-c/

-m

more ▼

answered Sep 09 '15 at 04:10 PM

avatar image

mamoniem
1.1k 33 23 63

avatar image erinacea Sep 09 '15 at 06:28 PM

This is an old post. Back then it might not have been possible without C++.

For the record, in case anyone else faces the same problem, the first column in the csv file needs to contain the identifier (row name) except for the very first cell which needs to be empty:

 ,hello,world
 row1, 1230,4560
 row2, 1231,4561
 row3, 1232,4562

You can then access any given row with the specified identifier.

(comments are locked)
10|2000 characters needed characters left

HI!

Before importing in Data Table mode, you need create definition in C++ code. Look at this https://docs.unrealengine.com/latest/INT/Gameplay/DataDriven/index.html

And for another type, like Curve Table, Float Curve and Vector Curve you can import without problem.

more ▼

answered Dec 03 '14 at 12:54 PM

avatar image

svv3dUDN
8.3k 254 37 396

avatar image Wrekk Dec 03 '14 at 01:11 PM

So there's no way to do it without code? :(

(comments are locked)
10|2000 characters needed characters left
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