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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

a simple inventory system and stats system using umg?

Ive been messing around with UMG and so far gotten most of my set up all done. but i cant seem to find anything new since 4.5 on setting up stats or a inventory system with UMG since alot of the nodes have been changed. anyone know any good tut's or even have already figured this out. It would help me out alot this is my last bases i need for a simple rpg system. so i can port my stuff over from unity.

any and all help would be great thanks

Product Version: Not Selected
Tags:
more ▼

asked Nov 20 '14 at 11:27 PM in Blueprint Scripting

avatar image

invayne
37 9 14 18

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

1 answer: sort voted first

I did a small version of this. However it should work in the large scale.

I use a blueprint for the items. It includes a mesh, icon and stats. This works as parent for all items which will be created.

For each item I created a new child, set the icon mesh and variables.

Back then UMG wasn't really a thing so I used the HUD class but in there I simply got all items inside of the character inventory array consisting of items and for each I printed the icon of it into an inventory. 5 a row via modulo.

So far I didn't had it working with the mesh (though it exists so that shouldn't be a problem) nor did I make the inventory scrolling but that shouldn't be a problem either.

DISCLAIMER: I have no idea how good this way actually is or how fast it is. There may very well be a lot better ways.

more ▼

answered Nov 21 '14 at 07:50 AM

avatar image

Erasio
5.9k 291 86 293

avatar image invayne Nov 21 '14 at 05:11 PM

any chance you can post what you did so i i can try to build off it an convert it to umg ? if you are willing and got the time?

avatar image invayne Nov 22 '14 at 01:21 AM

nvm got a tut on a inventory system and i think i can work out a stat system my self thanks

(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