Heretic whirlwind has broken obituary?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
Heisanevilgenius
Posts: 95
Joined: Wed Dec 15, 2021 8:38 pm
Graphics Processor: nVidia (Modern GZDoom)

Heretic whirlwind has broken obituary?

Post by Heisanevilgenius »

I made a clone of a cacodemon that fires a whirlwind from Heretic. This is the only code I added:

Code: Select all

{
	Default
	{
		Translation "LichCaco";
	}

	States
	{
	Missile:
		HEAD BC 5 A_FaceTarget;
		HEAD D 0 Bright A_StartSound("caco/attack");
		HEAD D 5 Bright A_SpawnProjectile("Whirlwind");
		Goto See;	
	}
}
But if the player is killed by the whirlwind, the obituary says "Player killed themselves" instead of that they were killed by a cacodemon. Any idea how to fix this?
Heisanevilgenius
Posts: 95
Joined: Wed Dec 15, 2021 8:38 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: Heretic whirlwind has broken obituary?

Post by Heisanevilgenius »

Is this a bug or did I make some kind of mistake?
User avatar
Enjay
 
 
Posts: 26993
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Heretic whirlwind has broken obituary?

Post by Enjay »

Even when using the default ironlich in Heretic, if you get killed by the whirlwind, you get the "killed himself" message.

I tried giving the whirlwind a hit obituary and a regular obituary, but I still got the "killed himself" message if a whirlwind killed me.

It could be a bug/missing feature.
Heisanevilgenius
Posts: 95
Joined: Wed Dec 15, 2021 8:38 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: Heretic whirlwind has broken obituary?

Post by Heisanevilgenius »

Gotcha
Post Reply

Return to “Scripting”