In "Hornblower", specifically "The Duchess and the Devil", when you arrive at the prison fort you're supposed to be disarmed thus:
If you are carrying a weapon but have none equipped, you will be auto-equipped with whatever the game thinks is the best weapon at the next scene change. (You can see this for yourself at any time you're on land. Unequip both your blade and gun, then walk to the next area of town.) I happen to own a musket+bayonet, formerly the property of the sidekick of the late Thierry Bosquet, but I never use it and don't have any ammo for it. Nevertheless, that's what is auto-equipped to me, which means this is me in prison:

You have to look really carefully to see it because it's edge on, but I'm carrying a sword as well. So is Midshipman Hunter standing behind me, despite also being disarmed:
I can't draw the weapons, nor can I re-equip to the weapon of my choice, which means I have to spend all that time in prison with a musket glued to my hip. Whatever code is supposed to put the musket on my shoulder didn't work.
Code:
RemoveCharacterEquip(pchar, BLADE_ITEM_TYPE);
RemoveCharacterEquip(pchar, GUN_ITEM_TYPE);
EnableEquip(pchar, BLADE_ITEM_TYPE, false);
EnableEquip(pchar, GUN_ITEM_TYPE, false);

You have to look really carefully to see it because it's edge on, but I'm carrying a sword as well. So is Midshipman Hunter standing behind me, despite also being disarmed:
Code:
RemoveCharacterEquip(characterFromID("Midshipman Hunter"), BLADE_ITEM_TYPE);
RemoveCharacterEquip(characterFromID("Midshipman Hunter"), GUN_ITEM_TYPE);
I can't draw the weapons, nor can I re-equip to the weapon of my choice, which means I have to spend all that time in prison with a musket glued to my hip. Whatever code is supposed to put the musket on my shoulder didn't work.
Last edited: