Hi, i'm trying to make a simple game where characters walk around (they are controlled by the pathfinding behaviour, not controled by players) and i'm with an issue, i wanna make an object called "character" move towards another instance of the tpye "character" when they get in range.
Example:
All of these are the same sprites but with different variables.
I want them to targent each other when any of them enter the LOS, and once they either kill the opponent or lose the track of them, they just go back to the "wander" state, where they randomly walk around trying to find people.
I've tried the los behaviour, the turret behaviour and even tried making my own custom LOS object but nothing, they just stay stuck at either fight or wander state.