How do I create an inventory & shop system with blueprints?
Me and my classmates have to develop a very basic MOBA game with Blueprints. Now that we have most features we planned, I just can't figure out how to create a inventory & shop system like this in League of Legends. I watched tons of tutorials, but none of them fit in our Project. So i thought i could get help here...
How would I start something like this?
We really tried everything, but we are complete beginners when it comes to things like this...
I'm thankful for any advice! :D
To start you should use arrays. For 1] My main emphasis is Parent-Child Classes. Create an Item parent - even if it has no information - so that all the items can be put into one array. Next create an array variable of Item BP Class in the character Blueprint that all the items the character holds can go into.
For 2] Do the same thing but create the array with items already in it. Use UI Widgets to present them on screen and use a OnClick event to trigger the addition of the item in that array slot to be added to the player array.
If you want more help just ask in comments!
answered Jul 03 '18 at 03:19 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here