Define PlayFab player segments in Game Manager based on statistics, tags, or currency and trigger CloudScript actions when players enter a segment.
Player segmentation is defined in Game Manager. Segments allow you to define useful or interesting groups of players, and perform exclusive actions on that group.
Example case: Run a custom CloudScript for every player who reaches an in-game goal
The defining characteristic of a player might be:
Login time
Linked device type
Tags
Real-world location
Statistic values
Virtual currency values
Real money purchases, and more.
For this example, our distinctive characteristic will be a statistic - specifically, players who achieve 50 str.
Statistics are one of many possible options, and only specifically required for this example. Feel free to replace the statistic requirement with another filter of your choice.
Our action will be to run a CloudScript function. CloudScript is by far the most flexible trigger option, granting you the full control of player and segmentation information at the time of segment transition.From the Game Manager screen: