by Blue Shadow » Tue Feb 20, 2018 2:06 pm
Tested with: 3.2.5 (64-bit)
Check
this post. It might be very difficult to make it abort with the original Korax class, but if you had a modified one with a code like this for instance:
Spoiler:
Code: Select all
class TestKorax : Korax replaces Korax
{
States
{
Attack:
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 8 Bright;
Goto See;
}
}
It becomes easier, provided the target somehow ceases to exist during the attack sequence (think of a monster that disappears completely after death, like the Lost Soul).
Edit: Here's something to test:
https://www.dropbox.com/s/x28gf610dm1ui ... g.pk3?dl=1
Load the file with Hexen and go to MAP40. Enter the first chamber where Korax* is. Summon TestDemon1. It's a friendly chaos serpent which disappears at the end of its death sequence. Let it and Korax fight each other, and if it dies and disappears while Korax is in its attack sequence, you'll get the abort.
* This is a modified Korax, made to make it easier to produce the problem.
[b]Tested with: 3.2.5 (64-bit)[/b]
Check [url=https://forum.zdoom.org/viewtopic.php?p=1041050#p1041050]this post[/url]. It might be very difficult to make it abort with the original Korax class, but if you had a modified one with a code like this for instance:
[spoiler][code=php]class TestKorax : Korax replaces Korax
{
States
{
Attack:
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 4 Bright A_FaceTarget;
KORX F 8 Bright A_KoraxMissile;
KORX E 8 Bright;
Goto See;
}
}[/code][/spoiler]
It becomes easier, provided the target somehow ceases to exist during the attack sequence (think of a monster that disappears completely after death, like the Lost Soul).
Edit: Here's something to test: https://www.dropbox.com/s/x28gf610dm1uioa/korax_bug.pk3?dl=1
Load the file with Hexen and go to MAP40. Enter the first chamber where Korax* is. Summon TestDemon1. It's a friendly chaos serpent which disappears at the end of its death sequence. Let it and Korax fight each other, and if it dies and disappears while Korax is in its attack sequence, you'll get the abort.
* This is a modified Korax, made to make it easier to produce the problem.