Skip to main content

Cachable Fact Check Objective

An objective that validates based on a numeric fact value

Fields

FieldTypeDefaultDescription
questRef<QuestEntry>——
factRef<CachableFactEntry>——
operatorComparisonOperatorEQUALThe comparison operator to use (EQUAL, GREATER_THAN, LESS_THAN, GREATER_OR_EQUAL, LESS_OR_EQUAL).Values:EQUALGREATER_THANLESS_THANGREATER_OR_EQUALLESS_OR_EQUAL
amountVar<Int>0—
displayVar<String>——
onCompleteRef<TriggerableEntry>——
onCompleteModifiersList<Modifier>empty—
Common TypeWriter fields (criteria, children, priorityOverride)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
childrenList<Ref<AudienceEntry>>empty—
priorityOverrideOptional<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.