Is there a way with a script to make an NPC move in a straight line to a specific tile?
What I want:
I want to move a NPC in a straigt line from the upper left corner here next to the line to the marked tile at the bottom right. And While doing so I want the NPC to perform a specific walking animation.
In short:
moveCharacter from Tile(0,0) to Tile(30,15) and show the "walkingDown" animation while moving
Is there a way to do this with a script? Because all the options of the engine itself are only for up,down,left,right and 45° diagonal to the next tile. And by checking the ScriptCalls-document I could not find a solution either.
(Even though I already learned a lot from the community here, I'm still pretty much a JS noob)
What I want:
I want to move a NPC in a straigt line from the upper left corner here next to the line to the marked tile at the bottom right. And While doing so I want the NPC to perform a specific walking animation.
In short:
moveCharacter from Tile(0,0) to Tile(30,15) and show the "walkingDown" animation while moving
Is there a way to do this with a script? Because all the options of the engine itself are only for up,down,left,right and 45° diagonal to the next tile. And by checking the ScriptCalls-document I could not find a solution either.
(Even though I already learned a lot from the community here, I'm still pretty much a JS noob)