long-war-2 / lwotc

Port of Long War 2 to XCOM 2's War of the Chosen expansion
345 stars 91 forks source link

An imprisones soldier died the first time rescuing him, his name keeps appearing in all future rescue missions #1481

Open Kommando257 opened 2 years ago

Kommando257 commented 2 years ago

Ssgt Shilam got captured by a Chosen, died during a jailbreak when a Muton overwatched his escape.

In every jailbreak mission since, his name appears in the op, in the mission phase he appears in the cell, if i manage to rescue him post mission screen says he got killed.

Also his name doesn't appear in the memorial.

Kommando257 commented 2 years ago

Btw im using the latest Dev build

pledbrook commented 2 years ago

Will probably need a reproducible save file to look into this.

pledbrook commented 2 years ago

This should probably be done alongside bringing the changes from LW2 into the UIInventory_VIPRecovered screen so it can handle multiple VIP rewards.

As for this bug, it seems like the "killed" status is not transferring to the Avenger's unit state object. I find this code confusing, so it will require some time and energy to fix.

Simbacca commented 2 years ago

I have a similar issue, a soldier was bleeding out, got captured by the Chosen and then still died during the mission. When his rescue mission pops up his name is blank and after rescuing him he does not reappear. This is now affecting other soldiers captured right now as I am running a rescue mission with two blank name people (I have two captured in this campaign). Blank soldier name carries over between campaigns as well.

Simbacca commented 2 years ago

Can provide saves if needed