question

bfg avatar image
bfg asked

Difficulty accessing country code in player logged in event

I am trying to make a rule based on players logging in and their country code. I have tried multiple different ways to access the country code.

Location.CountryCode.US

Location.CountryCode.US

location.countrycode.us

location.countrycode.US

CountryCode.US

CountryCode.us

countrycode.US

countercode.us

US

us

My original thought was that since the dropdown menus have the flow

"Location" "string value" "is" "___"

I imagine that I would just type in US, but nothing I have attempted triggers the action I want. Am I doing something wrong?

2 comments
10 |1200

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

Hernando avatar image Hernando commented ·

Thanks for your feedback, we have noticed this issue and are working on it.

0 Likes 0 ·
bfg avatar image bfg Hernando commented ·

Hello Hernando,

Thanks for the reply. Do you happen to have an ETA on a possible fix?

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

Yes, it looks like right now, the Location parameter is being treated as a simple string in the rule builder, which means you can't effectively do a "Location": "US" in the rule definition. We'll open a bug to get this addressed.

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.