Page 1 of 1

DLC - Live Brexit's

Posted: Sat Apr 15, 2023 4:19 pm
by t_m
Hello

Both "No Brexit, no Problem!" and You Brexit - You Fix it" are broken on 1307.13/14.
After some countries delegate forces to NATO, units are teleported to Atlantic ocean, south from Ghana. At same time also they are listed on bases with status "Returning to base"

Re: DLC - Live Brexit's

Posted: Sat Apr 15, 2023 6:35 pm
by michaelm75au
I don't suppose you have a save from before this happens so what triggers it can be checked?
[Never mind I can see the issue]
The common cause of this is that the initial location of the unit is at (0,0) rather than the base where it takes off from.

When the SetUnitSide() is executed, the units lose their 'host' location. This seems to be related to the fix to the old method where it was deleting and adding units when moving side.

Will investigate further.
----
Bug found and fixed for next build.
It is related to unassigning units; if the a/c is parked and ready, it incorrectly changes the condition of the a/c. This has only been highlighted since the change to SE_SetUnitSide() was updated.