If I understand correctly:
"Slave5", "Black Sam", "Black Bart", "Charles Vane", "Edward Low", "John Quelch", "Stede Bonnet" and "Walter Kennedy" are your crew. Some enemies are supposed to fight them but not to fight you. What are you supposed to be doing during all this if not fighting alongside your crew?
You could try:
for each of them. Then, to trigger the fight:
That should create a new group, "Crew", and make it fight against the enemy. (You don't have to use "FRANCE_SOLDIERS". I used that group in my battle because it's a predefined group for French soldiers and the battle was indeed against French soldiers.) I'm not sure if this will work properly, though. If two separate groups fight each other and neither of them is the player's group then the AI can sometimes get confused and weird things may happen.
I'm surprised that 'LAi_SetWarriorType' was preventing the crew from fighting - the purpose of that line is to allow them to fight!
"Slave5", "Black Sam", "Black Bart", "Charles Vane", "Edward Low", "John Quelch", "Stede Bonnet" and "Walter Kennedy" are your crew. Some enemies are supposed to fight them but not to fight you. What are you supposed to be doing during all this if not fighting alongside your crew?
You could try:
Code:
LAi_group_MoveCharacter(characterFromID("Slave5"), "Crew");
Code:
LAi_group_SetRelation("FRANCE_SOLDIERS", "Crew", LAI_GROUP_ENEMY);
LAi_group_FightGroups("FRANCE_SOLDIERS", "Crew", true);
I'm surprised that 'LAi_SetWarriorType' was preventing the crew from fighting - the purpose of that line is to allow them to fight!