|
| 03 Jul 2017 12:35 PM |
How did people such as Gusmanak (one of the developers of Apocalypse Rising) achieve the inventory system? For example, when a player clicks an item, it is then transported into their inventory, although items cannot be equipped, players just click the item and choose to use it, and when used, it disappears and items after that one move back one slot.
Which method did he use to do this? Did he use loops that achieved this? |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2017 12:37 PM |
we don't know because we never looked inside the game likely
#code print("oh no an errorz!") |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2017 12:38 PM |
| You would need to research GUI's, cloning, deleting, as well as need decent knowledge of ROBLOX's ancestry system. |
|
|
| Report Abuse |
|
|
lawahh19
|
  |
| Joined: 22 Dec 2014 |
| Total Posts: 235 |
|
|
| 03 Jul 2017 01:54 PM |
its kinda easy make a value in the slot that is bool value i can give you a bit of my inv script to show you the idea heres the place to see my inventory if it is what you want ("press e to open inventory") https://www.roblox.com/games/877192068/The-lost-world-alpha-0-2
for i,v in Pairs(getchildren of slots parent) do if v.Name == "SlotName" then if v.CheckValue.Value == false then
v.CheckValue.Value = true insert image label of tool and tool
end end end
and this will close the slot if the slot is free and change imagelabel to tool image and insert tool to the image and the rest chold you make yourself with the info respond if you need more help
|
|
|
| Report Abuse |
|
|
lawahh19
|
  |
| Joined: 22 Dec 2014 |
| Total Posts: 235 |
|
| |
|
lawahh19
|
  |
| Joined: 22 Dec 2014 |
| Total Posts: 235 |
|
|
| 03 Jul 2017 01:57 PM |
| i myself had some problems so i am more than happy to help with the basics |
|
|
| Report Abuse |
|
|
| |
|