I ran into another troublesome ship: The "SpanishSotL" (and probably all other Endeavour-reskins).
The original code was:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> refShip.Flags.Mast4.Flag1 = FLAG_ENSIGN;
refShip.Flags.NoPennants = true;<!--c2--></div><!--ec2-->
From what I can tell, the code should be this though<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> refShip.Flags.Mast2.Flag1 = FLAG_ENSIGN;
refShip.Flags.Mast3.Flag1 = FLAG_ENSIGN;
refShip.Flags.Mast4.Flag1 = FLAG_ENSIGN;
refShip.Flags.Mast4.Flag2 = FLAG_ENSIGN;
refShip.Flags.NoPennants = true;<!--c2--></div><!--ec2-->
One flag at the top of mast 2-3-4 and an additional one in rey_a4, which is also part of mast 4.
However, that still crashes my game. It appears I'm rather confused on how to handle ships with more than one flag on the same mast.
Especially when one flag is in the mast and the other in in the rey. Does anyone have any ideas on that?
The original code was:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> refShip.Flags.Mast4.Flag1 = FLAG_ENSIGN;
refShip.Flags.NoPennants = true;<!--c2--></div><!--ec2-->
From what I can tell, the code should be this though<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> refShip.Flags.Mast2.Flag1 = FLAG_ENSIGN;
refShip.Flags.Mast3.Flag1 = FLAG_ENSIGN;
refShip.Flags.Mast4.Flag1 = FLAG_ENSIGN;
refShip.Flags.Mast4.Flag2 = FLAG_ENSIGN;
refShip.Flags.NoPennants = true;<!--c2--></div><!--ec2-->
One flag at the top of mast 2-3-4 and an additional one in rey_a4, which is also part of mast 4.
However, that still crashes my game. It appears I'm rather confused on how to handle ships with more than one flag on the same mast.
Especially when one flag is in the mast and the other in in the rey. Does anyone have any ideas on that?