IsAliveCondition ​
Inherits: EntityCondition < Condition < Resource
Checks if the target entity is alive or dead. Uses EntityCondition targeting to determine which entity to check.
Properties ​
bool | is_alive | true |
Methods ​
bool | evaluate_entity( entity: Entity ) |
String | get_entity_description() |
String | get_entity_function_description() |
bool | is_valid() |
String | get_expected_argument_type() |
Property descriptions ​
Alive Check
bool is_alive = true ​
Whether to check if entity is alive (true) or dead (false)
Method descriptions ​
bool evaluate_entity( entity: Entity ) ​
Is the condition met for this entity?
String get_entity_description() ​
A short text about what the condition checks on the entity.
String get_entity_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.
bool is_valid() ​
Are the settings of the condition complete?
String get_expected_argument_type() ​
The kind of thing the condition is checked against (an entity, an encounter ...).