Hi,
I'm trying to fit a matchmaking system on playfab without uploading a custom server.
The idea is to use a mix of Shared data for ELO ranges and Segmentations to trigger some events depending on statistics values.
For example:
First to know, I have ELO (1-5000) and SHIELD (0/1) statistics.
A player reach ELO 126 from a previous ELO 120 value, then the Segmentation range_110_125 that look for this statistic changes, triggers an event that runs a cloudscript function that remove the player from the SharedDataRange_110_125 and at the same time another Segmentation range_126_150 triggers and add this player to the SharedDataRange_126_150.
(in our game, the ranges are defined and finite)
Also, I need to add a Shield factor, that prevents attacks from another player. That Shield factor will be a consumable item by the time (12h for example) and will set the statistic SHIELD to value 0 or 1.
My question is:
In the PlayStream Actions, ¿can I execute an action when a specific item from the catalog is granted or consumed? (the shield in this case) So, when a shield item is granted/consumed, the SHIELD statistic will set to 1/0. And a another Segmentation trigger looking for SHIELD stat value changes, will remove/add the player to SharedDataRange_XXX_YYY.
Marc