How to prevent marksdwarfes from suicides

dwarf-fortress

My current fort has line of fortifications and line of floor built of top of the wall. Floor built on top of constructed fortifications.
Markdswarfs are stationed behind fortifications on floor inside and should shoot siegers outside.

  z-1       z      z+1
,,W,,,   ·fF···   ··f···
,,W,g,   ·fF···   ··f···
,,W,,,   ·fF···   ··f···

, - ground
W - wall
g - sieger
f - floor
F - fortification
· - empty space

However several times I found one of my dwarfs outside. I suspect, that he somehow got through fortifications.

There is reported bug: 0008160: Creatures can jump through fortifications

Is there way to prevent my marksdwarfs from passing through fortifications?

Best Answer

Your dwarfs maybe Jumping/Dodging through the fortifications when fighting. One possible way to stop this would be to do a double layer of fortifications ( So fFF.) From what I understand of the bug report they'll only travel 1 layer deep into the fortifications when dodging and hopefully the same will be true when jumping. Once they are 'inside' the fortification it no longer exists from their view point, so they could fall outside the wall previously possibly by dodging again (and ending up over open air).

A double layer of fortifications will stop them moving further 'out' and instead the only direction they can choose to dodge/jump in is back toward the floor tiles.