Sign In Register

How can we help you today?

Start a new topic

mongo find challengeInstance scriptData

This might be a dumb question but are you able to find challenges from the challengeInstance system collection via scriptData? I can get returns from everything outside of scriptData. Event embedded data (outside of scriptData). But anytime I try and find matching values in scriptData I get no returns even when I know them to be true. Something as simple as {"scriptData": { "hidden": -1 }}

Hi One More Turn, 

It wouldn't be ideal to search the challengeInstance system collection in this manner. May I ask what exactly you are trying to achieve here ? With some more details we should be able to point you in the right direction.



It's for matchmaking since players have the option to find challenges that match criteria such as

  • player limit
  • round limit
  • time amount
  • ai enabled
and a couple more.
These options can be set to a target value or set to "any" meaning any game's value of that attribute shouldn't mark it as incompatible.

Login to post a comment