Cachable Fact Check Objective
An objective that validates based on a numeric fact value
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
quest | Ref<QuestEntry> | — | — |
fact | Ref<CachableFactEntry> | — | — |
operator | ComparisonOperator | EQUAL | The comparison operator to use (EQUAL, GREATER_THAN, LESS_THAN, GREATER_OR_EQUAL, LESS_OR_EQUAL).可选值:EQUALGREATER_THANLESS_THANGREATER_OR_EQUALLESS_OR_EQUAL |
amount | Var<Int> | 0 | — |
display | Var<String> | — | — |
onComplete | Ref<TriggerableEntry> | — | — |
onCompleteModifiers | List<Modifier> | empty | — |
TypeWriter 通用字段(criteria, children, priorityOverride)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
children | List<Ref<AudienceEntry>> | empty | — |
priorityOverride | Optional<Int> | — | — |
How to use it
The objective completes when the counter fact compares true with amount using operator. It does not count game events by itself; progress comes from whatever changes the fact. onComplete and onCompleteModifiers run once when it completes.