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"

Datatable based inventory/item system

Im attempting to create an inventory system using data tables to drive all of the data. As it stands it looks like this:

alt text

alt text

alt text

alt text

alt text

The issue is that the construction script doesn't seem to set the values at all. I've looked around but can't seem to find out what i'm doing wrong. Any help would be greatly appreciated.

The general concept is so that i can just create children of (for example) the "BPC_MasterConsumable" change the Row Name and it will load the information from the data table from the appropriate row.

If any other screen shots are needed please let me know. I have checked, double and triple checked the data table. the row name is correct.

Again, any help anyone can offer would be appreciated.

Product Version: UE 4.16
Tags:
masteritem.jpg (441.6 kB)
consumable.jpg (422.6 kB)
battery.jpg (145.5 kB)
pickupactor.jpg (502.5 kB)
viewport.jpg (741.8 kB)
more ▼

asked Sep 06 '17 at 09:53 AM in Blueprint Scripting

avatar image

Eightshot
143 8 17 19

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

1 answer: sort voted first

You need to iterate through the data table, but this isn't as straightforward as iterating through an array. First, get the data table row names. Second, run a foreach on the names. Third, get the data table row by name. Fourth, break the data table row to get the variables that you will use to do useful things, like setting the inventory item name. alt text

more ▼

answered Oct 28 '17 at 11:31 PM

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