RPG-Inventory - Drag and Drop

Index

Stats

4,758 visits, 13,008 views

Translations

This tutorial hasn't been translated.

Tools

Generate a list of items

Since we marked both inventorySlot and inventoryItem as global, we have to hide them on this layout:

Now, within the same "Start of Layout" event, we generate the list like this:

This is easily down by itteration over all instances of the inventorySlots and fillter them by the owner and if they are empty or not.

Then we retrieve the itemUID and use this to get the name of the shown animation, which is, in our example, the string representation of the item.

....and this, again concludes another tutorial.

Please let me know, if you need any further information.

  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!