Skip to content

LocalVariableBoolCondition ​

Inherits: Condition < Resource

Checks if a local boolean variable in an event meets certain criteria

Properties ​

Stringvariable_key""
BoolComparisoncomparisonBoolComparison.IS_TRUE

Methods ​

boolevaluate( argument: Variant = null )
Stringget_description()
Stringget_function_description()
Stringget_expected_argument_type()
boolis_valid()

Enumerations ​

enum BoolComparison ​

The options of bool comparison: is true, is false.

  • IS_TRUE = 0
  • IS_FALSE = 1

Property descriptions ​

Variable Check

String variable_key = "" ​

The key of the variable

BoolComparison comparison = BoolComparison.IS_TRUE ​

Is the variable true, or false?

Method descriptions ​

bool evaluate( argument: Variant = null ) ​

Is the condition met?

String get_description() ​

A short text about what the condition checks.

String get_function_description() ​

The sentence the editor shows for the condition, with {placeholders} for its values.

String get_expected_argument_type() ​

The kind of thing the condition is checked against (an entity, an encounter ...).

bool is_valid() ​

Are the settings of the condition complete?