Page 1 of 1

Found a bug on singeplayer campaign

Posted: 04 Aug 2019, 20:33
by ByzantineEmpire
Desktop Screenshot 2019.08.04 - 12.58.19.47.png
Desktop Screenshot 2019.08.04 - 12.58.19.47.png (2.92 MiB) Viewed 3269 times
The campaign with the zombies rescuing a rich mans daughter when you are at that location the game bugs out everytime for me

Re: Found a bug on singeplayer campaign

Posted: 04 Aug 2019, 22:48
by Dr.MonaLisa
Thank you for your report. It has been forwarded to Loewenherz's Department of EE2 Mysteries and Scenario Editor, but I don't think he will have the .ies script source file to fix that.

Re: Found a bug on singeplayer campaign

Posted: 08 Aug 2019, 23:21
by Loewenherz
This is a typical problem from named units functions. Is a named unit not alive, and a rule tests if the unit on a point or area, whatever, then the script bugs. Because the functions for named units works only, if there a named unit. So is better, to use a group for such things. A group exists, also independent of the unit. I can fix that here later simply, and yes we have the source code from all new scenarios. ;)

Re: Found a bug on singeplayer campaign

Posted: 08 Aug 2019, 23:31
by Dr.MonaLisa
This can be then fixed by simply adding DoesUnitExist before.
Like:
If(DoesUnitExist("name") && NamedUnitInArea(...)){

}

Re: Found a bug on singeplayer campaign

Posted: 09 Aug 2019, 15:06
by Loewenherz
I have fix this littel bug.

Re: Found a bug on singeplayer campaign

Posted: 09 Aug 2019, 21:18
by Dr.MonaLisa
Good morning.
Loew sent me the updated scenario file.
It has been added to upcoming update 157016:
Updated scenario: "e24ever - Zombie Land-Chapter one.scn" to prevent displaying "unable to find unit named..." Script Errrors. Thanks for report to player "ByzantineEmpire".
However, this update won't be released fast. I expect minimum September 2019, depending on how many other changes we get.

Re: Found a bug on singeplayer campaign

Posted: 09 Sep 2019, 05:04
by Dr.MonaLisa
The scrip error has been fixed in version 157016 (September 2019).

Topic Solved & Locked
If anyone has the same problem, please open a new topic