HasTargetCondition ​
Inherits: EntityCondition < Condition < Resource
Checks if the entity has a valid target.
Properties ​
bool | has_target | true |
Methods ​
bool | evaluate_entity( entity: Entity ) |
String | get_entity_description() |
String | get_entity_function_description() |
Property descriptions ​
bool has_target = true ​
True: the entity must have a target. False: it must not
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.