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"

Setting up Datatables

EDIT: found i needed to extend from the datatable C++

However i cant create new C++ files.

This is a blank C++ Project and when adding code to the project extending the DataTable object i am presented with this error. Screeny


I'm trying to import a data table for blueprint and I'm having trouble setting it up.

I have gone over the tutorial for it but I'm struggling with the C++ setup, i know basic code but haven't looked at C++ I'm UE4 before.

I'm quite sure my problem is getting the correct parent class when adding C++ content to my project, has anyone set this up before that can point me in the correct direction.

The code from the example is

 /** Structure that defines a level up table entry */
 struct FLevelUpData : public FTableRowBase
                         : XPtoLvl(0)
                         , XP(0)
         /** The 'Name' column is the same as the XP Level */
         /** XP to get to the given level from the previous level */
         UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=LevelUp)
         int32 XPtoLvl;
         /** This was the old property name (represented total XP) */
         UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=LevelUp)
         int32 XP;
         UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=LevelUp)
         TAssetPtr<UTexture> Asset;

Product Version: Not Selected
more ▼

asked Feb 23 '15 at 03:35 PM in C++ Programming

avatar image

81 6 7 10

avatar image emperor_katax Oct 13 '17 at 01:29 PM

...I'm currently working on this. Same like you , make a class out of DataTable class. Did you have any chance to get any worked sample or related link to this?

Actually, got some issue, when I import CSV file, I have a message said that first row item is not initialized ... well, everything looks normal ... Error message: Expected Column "ItemNumber" not found in input. and here is my CSV:


.. any help... ?

avatar image emperor_katax Oct 13 '17 at 01:38 PM

.. well , the issue with CSV import is solved, Simply you need to put first column title "Name" or "" and add 0 to (max number of items)... for that like image below. But still no idea about the

 class NETWORKDIRECT_API UFItemInformation : public UDataTable

alt text

sc-01.jpg (21.0 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Don't have to make half on C++ and half on BP. You can do it all with BP only!



more ▼

answered Sep 09 '15 at 04:16 PM

avatar image

1.2k 33 25 66

(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