[SUPPORT] Advanced Turn Based Tile Toolkit

Odd. And the only way you’ve affected the initiative order is by using it to inform the UI? But if you are just getting values from the initiative order array and not modifying it then nothing should change. What are the initiative values of the units? What do you see if you run a ForEach loop through the Initiative Order array at the start of the game?

If you are removing the edge both ways it does not really matter which is index one and which is index two. To get the index of an adjacent tile you take the tile’s index and either add or subtract a value depending on what tile you want. For a square grid this is as follows:

north: index - GridSizeX
east: index +1
south: index + GridSizeX
west: index -1

If you visualize it as a grid it should become obvious. Here is a 3*3 grid (meaning it has a GridSizeX of 3).

1 2 3
4 5 6
7 8 9

To get the index north of index five that would be 5 - 3 (GridSizeX) = 2. The east index would be 5 + 1 = 6 etc. Hex grids are a bit more complicated since it varies depending on if you are on an odd or even row. Are you using a hexagonal grid?

Happy to help!