[SUPPORT] Advanced Turn Based Tile Toolkit

Now that is very strange. So basically the toolkit is broken for you. It is hard to know what has happened here as I have not seen this issue before. You used the Create Project button in the vault and chose 4.18? Are you using a Windows machine? If you have added the toolkit the regular way and you do not have some weird software setup I have no idea what has happened here. If you cannot fix it, perhaps you can send me the content and config folders and project file so I can take a look at it? My email is knuteiliv@gmail.com.

Thanks for letting me know about the apex plugin stuff. I have not looked at that in ages, but if I return to it some time I will heed your advice.

I think the issue is at where you add the unit back into the array. You do not need to get the value from the PathIndexArray. The path index array holds the indexes of the last path a unit moved, and since I doubt any paths in your map is longer than 217 tiles that will always return -1. Instead, simply set the array element at the index the unit is now occupying (which due to your nodes is stored in the variable Index)