question

Dominic Hamelin-Blais avatar image
Dominic Hamelin-Blais asked

How to use Rule+Condition for first time of player_statistic_changed?

Hi

I'm trying to give players an item (participation prize) the first time they send us a score (statistic change)

I'm adding a rule for play stream event player_statistic_changed.

But I'm stuck with for the StatisticPreviousValue condition. The first time a statistic is changed, StatisticPreviousValue is null. And the conditions only accept numeric values.

Is there a workaround for this?

Thanks!

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

·
Seth Du avatar image
Seth Du answered

May I ask what are the Actions? Have you implemented "Execute Azure Function" as the action? in this scenario you can have additional verification steps in the function.

1 comment
10 |1200

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

Dominic Hamelin-Blais avatar image Dominic Hamelin-Blais commented ·

The action is "Grant Item", but indeed I could do all these checks (+ grant item) in a script or azure function. But I was so close to make it work only with the interface, anyway, thanks! :)

0 Likes 0 ·

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.