SpawnerAliveCountCondition ​
Inherits: Condition < Resource
Checks how many things a spawner made are standing now (NPCs that are alive, objects that are there, items that lie): "the wolves of the forest are all dead" is a count of 0. See docs: World > Spawners.
Properties ​
int | spawner_id | 0 |
Condition.CheckLogic | comparison_logic | Condition.CheckLogic.EQUAL |
int | target_count | 0 |
Methods ​
bool | evaluate( _argument: Variant = null ) |
String | get_description() |
String | get_function_description() |
String | get_expected_argument_type() |
bool | is_valid() |
Property descriptions ​
int spawner_id = 0 ​
The spawner (a placed Spawner of a world: Uniques > Spawners)
Condition.CheckLogic comparison_logic = Condition.CheckLogic.EQUAL ​
How the count is compared with the number
int target_count = 0 ​
The number to compare the count with
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?