Collectables

In this how-to guide, we are going to create a collectable system for our game where players must collect small artifacts in the game world to unlock a reward. This guide will walk you through implementing Collectables in both LootLocker and in-game.

What are Collectables

Collectables are used to automatically reward players for collecting or completing something in your game. Collectables are nested into three layers, each with their own set of rewards. This allows you to set up a wide range of Collectables across different maps or areas of your game. These layers are called Collectables, Item Groups, and Items, where Items are the actual things being collected by the player. Collectables and Item Groups need to be created first before creating an Item.

Collectables are very similar to Triggers in that you trigger them by a defined Name and grant the player a Reward. The major difference between Collectables and Triggers is that Collectables are returned to your game from the API, unlike Triggers that only return the specific Trigger in question.