I have player with 10 inventory slot variables, like "Items1", "Items2", "Items3".... "Items10".
How i can made event, that adds new item (gives value to item variable) to ANY EMPTY item variable, when overlapping item.
Try using Array! it is exactly what you are looking for!
here are some examples
https://www.scirra.com/tutorials/614/ar ... -inventory
https://www.scirra.com/tutorials/583/ea ... g-an-array
https://www.scirra.com/tutorials/244/rp ... g-and-drop
https://www.scirra.com/tutorials/755/cr ... ith-arrays
Develop games in your browser. Powerful, performant & highly capable.
They seems to be useful. Thank you!