MoveToAllyPositionAction ​
Inherits: CombatAction < Resource
Moves to a specific ally's position based on criteria
Properties ​
float | search_range | 20.0 |
AllyCriteria | ally_criteria | AllyCriteria.NEAREST |
float | offset_distance | 2.0 |
bool | should_walk | false |
Enumerations ​
enum AllyCriteria ​
The options of ally criteria: nearest, farthest, lowest health, highest health.
- NEAREST =
0 - FARTHEST =
1 - LOWEST_HEALTH =
2 - HIGHEST_HEALTH =
3
Property descriptions ​
float search_range = 20.0 ​
How far to look for an ally.
AllyCriteria ally_criteria = AllyCriteria.NEAREST ​
Which ally to move to (the nearest, the weakest ...).
float offset_distance = 2.0 ​
How far from the ally to stop.
bool should_walk = false ​
True when the entity walks and does not run.