When an NPC is trying to move to the next tile via pathfinder IF they can tilestack (npc def method) then they will stay behind the NPC infront. This works for all NPCs currently. However, you can override the boolean on spawn by using npc.setTileStacking(ARG);
(false for them NOT to tile stack and true for them to follow the rule)
Added tile stacking for NPCs.
When an NPC is trying to move to the next tile via pathfinder IF they can tilestack (npc def method) then they will stay behind the NPC infront. This works for all NPCs currently. However, you can override the boolean on spawn by using npc.setTileStacking(ARG); (false for them NOT to tile stack and true for them to follow the rule)