Skip to content

Metadata Condition

Xemor edited this page Dec 1, 2022 · 1 revision

Metadata Condition

MetadataCondition:
  type: METADATA
  mode: SELF
  variable: yourVariableName
  comparison: EQUAL
  value: 1.0

This creates a condition that checks whether the metadata value, "yourVariableName" is equal to 1.0 on the entity that caused this effect.

MetadataCondition:
  type: METADATA
  mode: OTHER
  variable: yourOtherVariable
  comparison: >
  value: -0.5

This creates a condiiton that checks whether the metadata value, "yourOtherVariable" is greater than -0.5 on the other entity.