I want to make an inventory gui thats able to store items that are clicked on of the ground and also be able to drop the item after clicking on it in the inventory how do i go about this, i am unsure where to start...?
Hello! I'm BlackOrange3343 and I'll be helping today!
To start off, what you are going to be looking at are the following:
- Client and Server Communication (For Filtering Enabled)
- Lot's of GUI scripting a.
MouseButton1Down
b. MaybeMouseButton2Down
UserInputService
- Lot's of loops a. For loop (Looping through tables)
:GetChildren()
:GetDescendants()
- Tables and Arrays
CFrame
I can't link anything as of right now since I'm in school but these are the basics you'll need for a simple system. For a more complex system, you'll need even more knowledge. Now I can't guide you on what to do because that would be way too long. What you can do is research the following topics and see if you can put the puzzle pieces together.
For the dropping items, you'd probably right click (MouseButton2Down) and then spawn the item in front of you or something like that using CFrame.
Hopefully this helped sorry for the lack of information. I'm at school.
Best of luck developer!