RetreatAction ​
Inherits: CombatAction < Resource
RetreatAction moves the entity away from their target by a specified distance. Useful for tactical repositioning after attacks or when health is low.
Properties ​
float | retreat_distance | 8.0 |
bool | should_walk | false |
Property descriptions ​
float retreat_distance = 8.0 ​
Distance to retreat (meters)
bool should_walk = false ​
Whether to walk (true) or run (false) while retreating