Skip to main content

Readable Fact Check Event

An event that triggers when a readable fact matches a value

Fields

FieldTypeDefaultDescription
factRef<ReadableFactEntry>—The readable fact to check.
amountVar<Int>0The amount that represents the required value to trigger the event.
operatorComparisonOperatorEQUALThe comparison operator to use (EQUAL, GREATER_THAN, LESS_THAN, GREATER_OR_EQUAL, LESS_OR_EQUAL).Values:EQUALGREATER_THANLESS_THANGREATER_OR_EQUALLESS_OR_EQUAL
checkOnJoinBooleanfalseIf true, the event will check the fact for players when they join.
checkIntervalSecondsLong10Interval in seconds for periodic fact checks when enabled.
Common TypeWriter fields (criteria, children, triggers, modifiers)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
childrenList<Ref<AudienceEntry>>empty—
triggersList<Ref<TriggerableEntry>>empty—
modifiersList<Modifier>empty—

How to use it​

Same behaviour as the cachable fact check event, but on a read-only fact (for example player health or time of day). Read its notes for the interval and the repeated triggers.