question

GraySeedGames avatar image
GraySeedGames asked

How can i make a catalog item to stack when player buy that but active it when player want ?

I want an item to :
Players buy from the shop and it's consumable for a limited time and stacks with each purchase and also the player can activate it when he wants (No auto active after granting item by the server).

what should I do to create this kind of item ?
is there any tricks or any other way ?

In-Game EconomyPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Ivan Cai avatar image
Ivan Cai answered

You can add this consumable time and stackable item in a container. Containers are collections of items and virtual currency that remain as an item in the player's inventory until opened. When players want to activate it, they can call UnlockContainerInstance API to unlock the container in the players' inventory.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

GraySeedGames avatar image GraySeedGames commented ·

Thanks Ivan.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.