[SUPPORT] Advanced Turn Based Tile Toolkit

Is there a function available that can give me an array of tile indexes that pawn can attack CONSIDERING tiles it can move to from its current position in a single turn? Normally I’d run “Find tiles in range” adding move range to attack range and taking output BUT there may be an obstacle (usually another pawn) in the path of the pawn that won’t allow that pawn to move and attack a specific tile. Maybe I could run “Pathfinding” with input of “move range+attack range” but I need to loop through a number of specific pawns on the grid and find that “can attack the tile with this index” array for each.

Update: I duplicated “patfinding” function and all related variables and I’m using it for my purposes - seems to be working. I’m afraid it could be helluva slow though to loop through all tiles each turn and during each tile check to loop through all pawns to check if they are able to attack this tile during their next turn.

What I need it for is to add a danger value to each tile based on how many pawns can reach and attack this tile and their damage.