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!)
NeuralStunner wrote:Monsters get a projectile obituary, and a melee obituary. That's it.
But what if an monster-actor have a set of related ability-actors? Is it possible to set individual obituary (without scripting ofc) for each of his ability-actors?
Lets say that we have a some "MadImp" which can shoot at target by "fireball" actor and "scream" actor projectiles, aside from his own melee attack. So can I set for the "fireball" "%o was killed with fire" obituary, while "%o was screamed to death by MadImp" for the "scream" actor?
Btw, does are XDeath obituaries overrides over other custom obituaries? I mean that if I to set DamageType as Fire to a some missile, would it always return "%o was melted" obituary instead of mine one then?
Actor D
{
Monster
Obituary "%o was gibbed by the D rage!""
HitObituary "%o was torn up by the D"
States
{
FireStorm:
DICF I 1 bright A_CustomMissile("FStorm",0,random(-20,20),random(-22,22),0,0,CMF_AIMDIRECTION)
Goto see
}
}
Actor FStorm
{
Projectile
DamageType Fire
Obituary "$OB_FIRESTORM" //"%o was incinerated by infernal flame of the Firestorm"
States
{
Spawn:
FLMA A 1 A_Weave(8, 0, random(1.0,5.0), 0.0)
FLMA A 1 A_SpawnItemEx("FireS",0,0,0)
Loop
}
}