Yeah, I kinda get how it works... it just seems to be a bit random sometimes and this is definitely one of those times.
I dunno, but I’m pretty sure this should work just fine...
I still don’t get the point in it though, if the transfer window is open then there must be a second ship, and generally speaking whatever nCompanionIndex is it should be the same as refEnemyCharacter.index. At least I think that’s right.
Either way, it doesn’t look like that code even does anything at present so maybe any fix is safe. Why is it cycling the characters anyway?
I dunno, but I’m pretty sure this should work just fine...
Code:
if(CheckAttribute(refEnemyCharacter,"index") && tempnum2==sti(refEnemyCharacter.index)) continue;//MAXIMUS: companion will not be added
Either way, it doesn’t look like that code even does anything at present so maybe any fix is safe. Why is it cycling the characters anyway?
Last edited: