question

MoonHeonYoung avatar image
MoonHeonYoung asked

Segment question

1. I created the "all player" segment.

Execute a cloud code function that calls GrantItemsToUser on the entered segment.

But when I create a new account, the function doesn't seem to run.

(The item does not exist in the inventory)

Only existing players will be executed, and new players will not function for this segment?

2. Is entry/exit applied to the segment in real time? When filtering is applied statistic, If I reset the leaderboard, will I be kicked out of the segment?

seg.png (43.7 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

The “AllPlayers” segment is a bit different, to which the "Entered/Left segment" feature does not apply. In your case, I’d suggest you use Rules to achieve this, as discussed in this thread: Actions in the Entered Segment - Playfab Community. And, for other segments, “Entered/Left” applies in real time, so yes, statistic changes will update the segment.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.