Unreal Engine Inventory Tutorial: Summary and Optimization

preview_player
Показать описание
Hello everyone. This is a summary and optimization of the Inventory System.
I used the Version 4.27.2 of the Unreal Engine for this one.

Timestamps:
0:00 - Intro
0:10 - Item Structure
0:29 - Inventory Design
0:45 - Create Inventory
1:20 - Update Inventory
1:36 - Set Arrays
2:33 - Move Item
3:54 - Append Item
4:46 - Reduce Item
5:22 - Split Item
6:00 - Use Item
7:50 - On Mouse Button Down
8:42 - On Drag detected
9:12 - On Drop
9:26 - Item Class
10:41 - Third Person Character
11:50 - Outro
Рекомендации по теме
Комментарии
Автор

"our classic split item function" your choice of wording is funny to me :D Also the occasional "of course"

skaalfort
Автор

Still need to figure out why I need to move a picked up item first, before I can use it...

Kubus
Автор

ok so, I've many questions with this update and I have an issue but I'm not sure if you have too ^^
First : If I split a stack and I want to restack items the amount inside item slot disappears
Second issue : My drop function seam doesn't works anymore...
Edit : I Fix my drop function for drop my stack too the floor

Maybe I miss something but I'm not sure to understrand the reduce function, I think it's for when you use item but I' didn"t see an example how to use it
by the way why do you remove the type like drink eat or whatever with the state machine, it was pretty cool feature ! :)

Don
Автор

This is a great tutorial. Thank you so much! I'm having difficulties with the function - Use item. I didn’t quite understand how to make each item be used differently. For example, using a potion restores health, but a book does something else. Could you help with this?

CloudLoad-ry
Автор

Can u add a shop to this tutorial like buying items sellin items an makein it to we’re u have to unlock the item first b4 u can buy it like a level system

trypresident
Автор

Every time I picked up an item I destroyed my actor because I used the third person blueprint in the append item instead of the item parent class xD

Kubus