faulknermano
"using 4 direction when it hits an edge, and 8 direction when no edge is involved."
- "Condition:Has edges around chess" and set parameter direction to (-1) to check if there is any edge around TileUID.
- "Expression:NeigborUID2DIR" (new in board plugin, you need update board plugin) to get the direction from PreTileUID to TileUID.
In 4 directions, the value is 0~3, in 8 directions, the value is 0~7.
It might be -
+ NOT Edge :Has edges around chess : TileUID , dir to (-1) // no edge around TileUID
+ ELSE
+ Board.NeigborUID2DIR( PreTileUID , TileUID ) >= 4 // diagonal
+ ELSE
+ Edge :Has edge between chess ( PreTileUID , TileUID )
+ ELSE