Unreal Engine Inventory Tutorial: Drag and Drop

  Рет қаралды 7,410

Seredias

Seredias

Күн бұрын

Пікірлер: 51
@chrystalphoenixassassine3204
@chrystalphoenixassassine3204 2 жыл бұрын
Thanks for the tutorial, I have a question. when i have 2 items and put one on top of the other, one of them disappears. is there a quick solution? thx :)
@Seredias.
@Seredias. 2 жыл бұрын
In this Case you have to change the Move Item function. But this will be in the next Part, that will come up tomorrow. As a quick Solution, just get a copy of the Array with Drop Item Index, Split Struct Pin, check with a Branch if the Item is Valid. if true you have to swap the Items, if false go on. 4:20
@chrystalphoenixassassine3204
@chrystalphoenixassassine3204 2 жыл бұрын
@@Seredias. Thank you for the quick reply, I'm looking forward to the next part :)
@xdoom1111
@xdoom1111 Жыл бұрын
I must be doing something wrong. I can drag an item but when i release the mouse button, the item just disapear. And only the item in the first slot can be draged. Been rewatching the video 5 times to find where i messed up 🤔
@xdoom1111
@xdoom1111 Жыл бұрын
finaly found where i messed up, forgot to link the array's index to the set index in Inventory->UpdateInventory
@Kubus77
@Kubus77 Жыл бұрын
@@xdoom1111 Thank you so much, had the same issue! Now I only need to fix the "randomly dissapearing issue"...
@Kubus77
@Kubus77 Жыл бұрын
Found it: Didnt connect the actor with the actor at 15:23
@SOTOS_T
@SOTOS_T Ай бұрын
hello i want to my game to drop the whole amount and after that i want to be able to pick it up how can i set the amount on the dropped item?
@Seredias.
@Seredias. Ай бұрын
Just continue the Tutorial Series, I show exactly that in Part 6: kzbin.info/www/bejne/paWWYZafr9iYjNksi=H93PFQwzDZuxDOkw
@krlkkvv
@krlkkvv 24 күн бұрын
Guys I need some help here. How do i make the background of ItemSlot anything but white with drag&drop?
@Seredias.
@Seredias. 24 күн бұрын
@@krlkkvv Just change the Widget of the Item Slot.
@shadowshakshadowgames1198
@shadowshakshadowgames1198 9 ай бұрын
Thanks for the help to fix my problem on the first video but I having problem on this one in the part when you go to the BP of the Book and choose the Actor as Book for some reason I cannot choose that one do you know why this is happening?
@Seredias.
@Seredias. 9 ай бұрын
Did you create a new Blueprint Actor? You can just delete the Book from the first Part.
@shadowshakshadowgames1198
@shadowshakshadowgames1198 9 ай бұрын
@@Seredias. Yes I create the item class and them I did the Child thing you did to make the new BP for the book
@Seredias.
@Seredias. 9 ай бұрын
@@shadowshakshadowgames1198 Since this is Part 4 did you do the other Parts?
@shadowshakshadowgames1198
@shadowshakshadowgames1198 9 ай бұрын
@@Seredias. Yes
@shadowshakshadowgames1198
@shadowshakshadowgames1198 9 ай бұрын
@@Seredias. The only thing is not working is when I drag the book out of the inventory to appear on the map nothing happend and also the function Actor that you put on Item Structure doesn't allow me when I go to the BP of the book select Book as Actor like you did in 16:00
@peaches_for_free
@peaches_for_free Жыл бұрын
Great videos, thank you for them! Can you please give me advice with 1 issue? When I pick up the items, go to another level, and return back to the 1st level, the items I picked up are again on the ground, but I would like them to be gone.
@Seredias.
@Seredias. Жыл бұрын
Don't worry this will be Part of the Series.
@mysticx6226
@mysticx6226 2 жыл бұрын
this is cool but the fuction to use the item dosent work now, what should i do to make it work again?
@Seredias.
@Seredias. 2 жыл бұрын
It should work, but you have to use the Right Mouse click now to use it.
@sarmy3d
@sarmy3d Жыл бұрын
Not sure if you still read these since this is a year old, but I was wondering, I more or less integrated the drag and drop to ground portion of your tutorial and ran into a small issue. If I sort of half drag an item so it doesn't leave the window but also doesn't get moved far enough to enter another inventory slot, it drops to the ground. Is there some way to make it so the drag drop icon has to completely leave the Inventory window for the drop to ground operation to take place? Also is there a simple way to make the items not drop on the exact same location if you're facing one direction? Like randomizing the drop location?
@Seredias.
@Seredias. Жыл бұрын
Well the drop function is on the Inventory Layer. So if you "miss" a Inventory Slot, it automatically triggers the this one. So the solution would be to specify which Part of the Inventory Widget should trigger on the drop event.
@AaronDatBaron
@AaronDatBaron 2 жыл бұрын
The Item I'm using this for is wooden logs and the amount I gave it was 15 when a singular one is picked up - however if I craft an item and use 10 logs meaning I have 5 logs leftover: when I drop the 5 logs and then pick it up again, it gives me 15 which means you could essentially get infinite wood. Any way for me to fix this?
@AaronDatBaron
@AaronDatBaron 2 жыл бұрын
and is there also a way to make it so that an item can only stack to a certain number like 99 then it will start stacking in another slot
@Seredias.
@Seredias. 2 жыл бұрын
Since I don't know how you build the Crafting System, which is not Part of the Tutorial, I have no Idea how I should help you.
@Seredias.
@Seredias. 2 жыл бұрын
@@AaronDatBaron The limit stacks will be Part of the Series.
@AaronDatBaron
@AaronDatBaron 2 жыл бұрын
@@Seredias. just imagine if the book you pick up gave you 5 books (amount) in your inventory and then you set up a basic input in your third person character that took away one book with a press of a key thus leaving you with 4 books in inventory: but once you drop the 4 books and pick it up back up it gives you 5 again instead of 4? Anyway to make this work with the system you've made?
@AaronDatBaron
@AaronDatBaron 2 жыл бұрын
@@Seredias. great to hear :)
@DolVoloshin
@DolVoloshin 2 жыл бұрын
When we picked it up from the inventory and put it in the same slot it disappeared.
@Seredias.
@Seredias. 2 жыл бұрын
Oh your right. Its very easy to fix that. Just go to Inventory -> Move Item. Use a Branch to check, is the "Select Item" equal to the "Drop Item". On true do nothing, on false continue with "Set Array Element". 3:50
@newoldstories5345
@newoldstories5345 2 жыл бұрын
I really like this tutorial and I hope it will have more parts :) I wonder if it can be modyfied to work more like an inventory from Slime Rancher. Basically I want to have a small inventory that is always open and allow player to interact with item by numbers on keybord or by using a mouse wheel to choose an item and a single click to drop/use. Having inventory always on screen was easy to set up, but I don't really know how to change default mouse interactions. Do you have any tips? :)
@Seredias.
@Seredias. 2 жыл бұрын
I think what you mean is a Quick-slot (Hotbar). Yes, this will be Part of the Series. :)
@deltaniris6898
@deltaniris6898 2 жыл бұрын
@@Seredias. Great :)
@riotboybroski
@riotboybroski 2 жыл бұрын
continue this tutorial please it's nice
@gauravkulshrestha1370
@gauravkulshrestha1370 2 жыл бұрын
can you make inventory tutorial like dying light inventory with 3d view
@Seredias.
@Seredias. 2 жыл бұрын
You mean the Character View, where you can change the Weapons?
@gauravkulshrestha1370
@gauravkulshrestha1370 2 жыл бұрын
@@Seredias. you saw dying light and far cry inventory??
@gauravkulshrestha1370
@gauravkulshrestha1370 2 жыл бұрын
@@Seredias. dying light inventory is categorized and has limits and upgrade slot and weapon craft but not show 3d view like far cry
@Seredias.
@Seredias. 2 жыл бұрын
@@gauravkulshrestha1370 Okay well I will try to do that.
@КотКотофей-я9ы
@КотКотофей-я9ы 2 жыл бұрын
Nice tutor!
@MartinThePanda
@MartinThePanda 6 ай бұрын
Now drag the slot from the corner, not the center, and see what happens. 😂
Unreal Engine Inventory Tutorial: Storage System
26:30
Seredias
Рет қаралды 4,5 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Unreal Inventory System Course - #6 Drag and Drop
25:41
The Game Dev Cave
Рет қаралды 1,5 М.
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 297 М.
How to Make a Simple Inventory System in Unreal Engine 5
23:00
Gorka Games
Рет қаралды 113 М.
How to create Modular and Scalable UI systems in Unreal Engine
19:15
Unreal Engine Character Editor Tutorial
16:51
Seredias
Рет қаралды 39 М.
HOW TO DRAG AND DROP WIDGET | Unreal Engine Tutorial
19:25
The Average Dev
Рет қаралды 16 М.
Basic Inventory: Picking Up & Dropping Items In Unreal Engine 5
44:18
BuildGamesWithJon
Рет қаралды 66 М.
Understanding List View - Unreal Engine 5 Beginner tutorial
13:06
LeafBranchGames
Рет қаралды 39 М.
Card widget system part 1 - Unreal engine 5
45:21
LeafBranchGames
Рет қаралды 34 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН