I'm playing on 44.12 with current DFhack on mac. Every time (3) I've send out raiding parties they take all but 1 war animal with them. Each of my squad has about 10 animals assigned to one member, 9 will go without a problem and 1 will continuously run to the edge of the map as if to leave, then wander back to the tavern or wherever, then run back to the edge of the map, over and over. Checking out that animal in the [g] view shows them to be "Pet of Somebody" no name listed, but in the [z] animals screen it shows their real owner is a raiding dwarf.
Each time this has happened I've had to kill the animal in some overly complicated way because I can't get them to pasture and the dwarves won't take them anywhere. Once I killed the first one my army who had been gone two years immediately came back. It's been the same every time.
I've recently found this script that turns them to smoke:
lua dfhack.gui.getSelectedUnit().animal.vanish_countdown=2
which is very helpful, but I'd much rather not have to kill a war beast every time I send out a mission.
I also found a script on reddit called freepet.lua that is supposed to remove assigned pets and war animals, but it hasn't worked for me:
u = dfhack.gui.getSelectedUnit(true)
if (u == nil) then
prints "ERROR: No unit selected."
return
end
u.relations.following = nil
u.relations.pet_owner_id = -1
I couldn't find anyone else talking about this, but has anyone experienced war animals consistantly failing to go on raids? Any solutions or ways to unassign those animals?