I am new to learning JS and how arrays work, how would I set up an array to run a check for items inside of a container (event), the amount of items left and when they are all gone?
I am using this system to allow the player to search the container, take what they need/want and return to it later. Once all items are removed, I have a timer to initiate the items to respawn later on.
Any help is appreciated, I am brand new to this part and I can elaborate more if needed!
I am using this system to allow the player to search the container, take what they need/want and return to it later. Once all items are removed, I have a timer to initiate the items to respawn later on.
Any help is appreciated, I am brand new to this part and I can elaborate more if needed!