WorldPositionDistanceBetweenCondition ​
Inherits: EntityCondition < Condition < Resource
Checks if the entity is within a specified distance range from a world position.
Properties ​
Vector3 | world_position | Vector3.ZERO |
float | min_range | 5.0 |
float | max_range | 10.0 |
Methods ​
bool | evaluate_entity( entity: Entity ) |
String | get_entity_description() |
String | get_entity_function_description() |
Property descriptions ​
Vector3 world_position = Vector3.ZERO ​
The world position to measure from
float min_range = 5.0 ​
The smallest distance from the position
float max_range = 10.0 ​
The greatest distance from the position
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.