Skip to content

Game Events

A Game Event is the first step for launching Game Offers. However, Game Events have a much broader meaning. You can use them to plan your in-game activities and events like Halloween, Tournaments, Weekends, and more. Adding Game Events increase your game's retention and engagement.

After installing the LiveOps package, you get a ready-to-use structure for Game Events, and the table looks like this: Screenshot

Parameter Description
Name This name is used mostly for your convenience
Attachment Attachment can be either Script, or Game Offer. The script is executed once the event starts. The script can have any logic, but generally, it's used to Segment players and give them Personalised Offers. You can read more about scripts in Visual Scripting section. The same way a Game Offer is activated when event starts, but it simply shows an offer without complex logic. You can learn more about Game Offers in Offers & Items section.
Condition A condition required to meet to start the event. Leave it blank if you want to run this event all the time - this approach works for Starter Pack Offers. But if you have seasonal, weekend, or game anniversary events - you should specify the conditions. In most cases, the conditions are time-based.
FinishType Defines how the Game Event should end. By default the Game Event deactivates once the Condition is false, you can change the type to Duration and specify how long the event lasts after activate. Keep in mind, after deactivation, if Condition is true, the Game Event starts again.

Extension

If your game requires additional parameters, you should inherit a new Template from 📅 Game Event and add as many parameters as needed. Screenshot

When you create a new Event, make sure to select the new Template you just created, and then you'll get something like this: Screenshot

Section for programmers

You can request all active events. Call this method only after OnSmartObjectsInitialized is invoked.

var activeEvents = Balancy.LiveOps.GameEvents.GetActiveEvents();

Visit the Programmers Section and learn how to subscribe for important events.