Hello, I'm trying to make sure that when you click on an enemy, the character comes up to him at the minimum possible distance and use attack ability but I don't understand how to do it yet.

I tried to do this through the ability, but I didn't figure out how to get the grid path to transfer it to the grid move animation schematic. I need a hint in which direction I should look, please.
  • The Select Grid Cells node can also select a path to a cell. With that, you'd just need to do the same as in the grid move schematic, i.e. move along that path cell by cell.
    You can also use the Set Grid Path node to use those cells as an actual grid path and simply use the grid move schematic (via Start Machine node) as part of the attack.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you very much, it worked.
Sign In or Register to comment.