I have manage to circumvent a few issues with the enemy chess movement. It is now possible for an enemy chess to automatically select a tile nearby a player chess (it is done awkwardly, with some strange behavior but it work nonetheless).
---- SEE GROUP: "E_MOVE1" : (note: Only one enemy chess will move per turn)
However, when the enemy chess is too far (i.e. the moveable area (tileframe = 1) is not within range of the player chess), the enemy chess can't move towards the player chess, and instead just run away to the left of the layout (I don't know why).
Do take a look at my capx, maybe there could be a way to allow enemy chess that are too far from the player chess to select a tile (tileframe =1) that would be in the right direction, towards the player chess (i.e. so as to eventually be "within the moveable area" on a next turn).
I hope this makes sense, do let me know what you think!
Thanks, as always!