[SUPPORT] Advanced Turn Based Tile Toolkit

Ok, I’ll show you what you need to do. I’m sure you’ve made some small mistake which will hopefully become clear now. You want to rotate the unit when it has ended its move and clicks a an empty tile. By default this ends the unit’s turn, so you want to have it rotate before the turn ends. The logic determining if the unit’s turn should end when a tile is clicked is held in ATBTT_PlayerController, so that is the simplest place to add the rotation code (though calling a custom “rotate unit” function in the unit blueprint might be more “correct”). I’ve added these few nodes to the event grah of the player controller, in the Initialize Movement - Step 1 comment box right before End Unit Turn is called. Here they are:

I apologize that it does not really make sense that End Turn is called within a comment box saying initialize movement, which is not really intuitive. This is one of the many things I’m cleaning up in the big refactoring I’m doing.

Let me know if it works like you want it to.