Перейти к основному содержимому

Readable Fact Check Event

An event that triggers when a readable fact matches a value

Поля

ПолеТипПо умолчаниюОписание
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).Значения: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.
Общие поля TypeWriter (criteria, children, triggers, modifiers)
ПолеТипПо умолчаниюОписание
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.