- Desktop Screenshot 2019.08.04 - 12.58.19.47.png (2.92 MiB) Viewed 3245 times
Found a bug on singeplayer campaign
-
- Posts: 53
- Joined: 26 Jul 2019, 11:53
Found a bug on singeplayer campaign
The campaign with the zombies rescuing a rich mans daughter when you are at that location the game bugs out everytime for me
- Dr.MonaLisa
- High Representative
- Posts: 8708
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 108 times
Re: Found a bug on singeplayer campaign
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.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
- Loewenherz
- Posts: 244
- Joined: 23 Sep 2017, 17:26
- Has thanked: 7 times
- Been thanked: 21 times
Re: Found a bug on singeplayer campaign
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.
List of tutorials, useful threads and utilities (look here before posting): Here
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
- Dr.MonaLisa
- High Representative
- Posts: 8708
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 108 times
Re: Found a bug on singeplayer campaign
This can be then fixed by simply adding DoesUnitExist before.
Like:
If(DoesUnitExist("name") && NamedUnitInArea(...)){
}
Like:
If(DoesUnitExist("name") && NamedUnitInArea(...)){
}
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
- Loewenherz
- Posts: 244
- Joined: 23 Sep 2017, 17:26
- Has thanked: 7 times
- Been thanked: 21 times
Re: Found a bug on singeplayer campaign
I have fix this littel bug.
List of tutorials, useful threads and utilities (look here before posting): Here
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
- Dr.MonaLisa
- High Representative
- Posts: 8708
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 108 times
Re: Found a bug on singeplayer campaign
Good morning.
Loew sent me the updated scenario file.
It has been added to upcoming update 157016:
Loew sent me the updated scenario file.
It has been added to upcoming update 157016:
However, this update won't be released fast. I expect minimum September 2019, depending on how many other changes we get.Updated scenario: "e24ever - Zombie Land-Chapter one.scn" to prevent displaying "unable to find unit named..." Script Errrors. Thanks for report to player "ByzantineEmpire".
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
- Dr.MonaLisa
- High Representative
- Posts: 8708
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 108 times
Re: Found a bug on singeplayer campaign
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
If anyone has the same problem, please open a new topic
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains