[2.50~2.60b4] Variable not being reset in fight.attack.object.capital?

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
Berserk Knight
Posts: 398
Joined: Tue, 17. Dec 13, 01:34
x4

[2.50~2.60b4] Variable not being reset in fight.attack.object.capital?

Post by Berserk Knight » Tue, 8. Oct 19, 06:34

The "$iscarrier" variable is only set on init.
A ship in combat has a fair chance of losing some subordinates, and potentially all of them. Once it does, that variable is unset, and will stay that way until the script is completely reset because it is never set anywhere else.

Post Reply

Return to “X4: Foundations - Technical Support”