Triggers

Looking for documentation on the old Triggers system? They have moved.

Triggers allow you to create and manage limited and unlimited game actions, each of which are tied to specific rewards. These triggers are created via the LootLocker web console(link) and can be invoked through the Game API.

Triggers offer flexibility in designing different ways to reward your players and can offload a of lot game logic by associating certain player actions with specific outcomes.

  • Limited Triggers: Can only be invoked a set number of times per player, making them ideal for one-time events or achievements.

  • Unlimited Triggers: Can be invoked repeatedly, allowing ongoing rewards for recurring player actions.

Examples

  1. Limited Trigger:

    • Trigger Name: Enter Ice Caves

    • Key: enter_ice_caves

    • Description: Activated when the player enters the Ice Caves region of the game. Rewards the player with the Ice Blade weapon.

    • Limit: 1 (Each player can trigger this only once).

  2. Unlimited Trigger:

    • Trigger Name: Slay Dire Wolf

    • Key: slay_dire_wolf

    • Description: Activated whenever the player defeats a Dire Wolf. Rewards the player with a Wolf Fang.

    • Limit: Unlimited (Players can earn this reward every time they slay a Dire Wolf).

Use Cases

  • Reward players for reaching specific milestones (e.g., entering a hidden area or defeating a boss).

  • Create time-limited achievements or one-time rewards for rare events.

  • Encourage repeated player engagement through rewards for recurring activities.

  • Reward a player for watching an ad

  • Gift the player specific items when they launch the game for the first time

How-To's

Last updated