Cachable Fact Check Objective
An objective that validates based on a numeric fact value
Fields
| Field | Type | Default | Description |
|---|---|---|---|
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).Values:EQUALGREATER_THANLESS_THANGREATER_OR_EQUALLESS_OR_EQUAL |
amount | Var<Int> | 0 | — |
display | Var<String> | — | — |
onComplete | Ref<TriggerableEntry> | — | — |
onCompleteModifiers | List<Modifier> | empty | — |
Common TypeWriter fields (criteria, children, priorityOverride)
| Field | Type | Default | Description |
|---|---|---|---|
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.