Skip to content

CombatStateCondition ​

Inherits: EntityCondition < Condition < Resource

Checks if the target entity is in combat or not. Uses EntityCondition targeting to determine which entity to check.

Properties ​

boolin_combattrue

Methods ​

boolevaluate_entity( entity: Entity )
Stringget_entity_description()
Stringget_entity_function_description()

Property descriptions ​

Combat State Check

bool in_combat = true ​

Whether to check if entity is in combat (true) or not in combat (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.