Because if there is a wall, the roman needs to pass around it
adrientd
can't go through it
pegperegogaucho
true
adrientd
I'm sure the game uses something like the A* algorithm to find the shortest path using the grid.
pegperegogaucho
What do the values mean for the pathfinding
pegperegogaucho
so 4, 7 0 etc.
adrientd
1 free
7 block enemy+partner
4 block only enemy
0 block only partner?
pegperegogaucho
Alright, I think when theres no pathfinding then the enemies will spawn at the centre of a squad instead of their choreokey positions so this might come in useful
pegperegogaucho
Speaking of choreokeys, you should also make it possible to edit the second last byte
adrientd
ahh, what does it do?
adrientd
I have documentated the last two bytes as a flags integer
pegperegogaucho
That's correct
pegperegogaucho
Maybe it's a bitmask too
pegperegogaucho
Anyways, I know it's used for how the enemies behave in the key so if they look at the player and stand still or move with the player etc.
pegperegogaucho
And you can also set it to a value so the formations will have their spears out all the time