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"

Development of inventory system

Hey. I am developing inventory for the game. I would like to learn from the community the best way to implement data storage on items.

Use this link to actor I consider it absolutely wrong, as many think. At the moment, I am more inclined to use a separate DataTable for each type of object (weapons, ammunition, etc.). To do this, I created a parent structure that describes all items (ID, price, icon) and from it I inherit structures for a particular type (for example, for a weapon the maximum number of cartridges). But there are drawbacks: for example, when shifting an object from the chest to the inventory, you will have to transfer all the structures at once, of which only 1 will be filled. I wanted to make a wrapper using UObject, but as it turned out it doesn't support replication and I had to refuse.

Use 1 structure and 1 DataTable for all types of items I also find wrong, as the cartridges do not need to know about the recharge time.

As you have done the inventory? Thanks

Product Version: Not Selected
more ▼

asked Oct 16 '18 at 09:47 AM in Blueprint Scripting

avatar image

129 11 22 34

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

0 answers: sort voted first
Be the first one to answer this question
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