[FlexMatch] Can we define comparison rule expansions by comparing attribute across player ?

0

Hello Flexmatch Team,

I didn't see anywhere mention that we could define relaxations on the comparison rule type by comparing the attributes of the players between them. For instance, in the rule DifferentCharacter in example 6, i would like to authorize an amount of duplicated characters according to the waiting time , like described below :

{
        "target": "rules[DifferentCharacter].maxCount",
        "steps": [{
            "waitTimeSeconds": 30,
            "value": 1
        }, {
            "waitTimeSeconds": 60,
            "value": 2
        }]
}

Thank you !

已提問 1 年前檢視次數 189 次
1 個回答
0

Hello! What i would recommend is assigning a value to players with the same character, say 1, and assigning a value to players with different characters, say 0. Then, as your expansion takes place, you can expand this value for the match as a whole to 1 from 0, allowing a single player with a duplicate character, then so on.

AWS
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南