I think it would be correct not to add a ban command to the white flag at all.Probably because he's set to PERSONAL_NATION, which is you! I've seen similar problems with PRIVATEER_NATION, which is a sort of fake nation that can be used for special ships. The solution is to prevent the captain from surrendering at sea.
You could add this to "Leave_Jocard":Code:Characters[GetCharacterIndex("Gentleman Jocard")].nosurrender = 2;
If you want to be able to capture the ship, delete this line:That's the line which prevents you from boarding the ship.Code:Character_SetAbordageEnable(CharacterFromID("Gentleman Jocard"), false);
If you want to be able to capture Jocard and maybe recruit him as an officer, set 'nosurrender' to 1 instead of 2. If it's 2, the captain won't surrender at all. If it's 1, he won't surrender at sea but may surrender during boarding, and that's when you may take him prisoner.
As a last resort, you can leave
Characters[GetCharacterIndex("Gentleman Jocard")].nosurrender = 1;
But I don't see the point in this.
It is better to take an additional good ship for yourself rather than sink it.
I just commented out this line
//Character_SetAbordageEnable(characterFromID("Gentleman Jocard"), false);
The only problem with this is that he has no dialogue when he gives up. I can't talk to him or kill him.