Skip to content

SpawnerActiveCondition ​

Inherits: Condition < Resource

Checks whether a spawner is switched on. See docs: World > Spawners.

Properties ​

intspawner_id0
boolrequire_activetrue

Methods ​

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

Property descriptions ​

int spawner_id = 0 ​

The spawner (a placed Spawner of a world: Uniques > Spawners)

bool require_active = true ​

Whether the spawner should be on (true) or off (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?