Inventory tracker

So how do I make it so a overlay tracks how many items like silver seed, gold seed, cyan creed and green seed you have and shows it

I checked all the other guides but the pictures got removed

Make separate overlays that show tracked item. Look in the overlay settings, you’ll find it.

I know but I want to track multiple items in one overlay

You need a tracker popup and block code for both of them.

how would I make that work and ca you elaborate

Im sorry that’s all I know rn I didnt get more from my researching sorry.

1 Like

So: put inventory managers, connect esch item to properties, then use the “make text with” function in game overlay blocks to display them

Can you show me a picture of how to do the blocks part

Can you guys show me how to make it using pictures?

Use number properties with inventory item managers tracking how many of each item there are
Then have the same channel broadcast when it changes for each of them
Then use this:


Property names are what the properties are, and the block is recieving on whatever inv item manager broadcast
Edit: i forgot to add colon : to the end of cyan and green seed oops

4 Likes

I still dont get the first part of it can you show me with pictures if it is possible

There is an inventory item manager device, use that to update a property of the seed


1 Like

do I use a separate one for each property

Yeah, each one tracks a different item and updates the item’s property

2 Likes

An overlay? Just make three overlays(1 per corner) and set it to tracked item type, and set that to the item you want.

Yes, on one overlay because I am using the other corners for buttons

Then you can’t do this, because you can only have 1 overlay per corner. This is only possible if you use properties.

So im asking how do I do it with properties

Okay, here you go. In the overlay, make it text type, and make the default something random.
Then, get a lifecycle, relay, and repeater.
Wire the lifecycle to relay.

When event occurs -> relay

In the relay, wire it like this:

When relayed: start repeater

In the repeater do these settings:

Repeat every [0.5] Seconds


Stop when receiving on channel: (Nothing here)


When repeated: submit on channel: [Show]

Okay, now go to the overlay, and go to blocks.
In blocks, make a block, and have it happen on channel [Show]

Okay, now we need some blocks.

Get a CREATE TEXT WITH BLOCK
Now, click the setting, and add a lot of extra text sections.

Okay, now also get a lot of text blocks.

Now, add a text block for every create text block.

Now, do this block code:

And so on.
And you should be done!

1 Like