Code: Select all
Actor SoulBaron:BaronofHell
{
states
{
Missile:
BOSS EF 8 A_FaceTarget
BOSS G 8 A_CustomMissile("SoulPlasma")
Goto See
}
}
Actor SoulPlasma:ArachnotronPlasma
{
states
{
Death:
APBX AB 5 Bright
APBX C 5 Bright A_PainAttack("SoulImp")
stop
}
}
Actor SoulImp:DoomImp
{
Health 1
RenderStyle Add
Alpha 0.75
+NOINFIGHTING
+NOTARGET
+FLOAT
+NOGRAVITY
}
- The A_PainAttack is always directed toward the source that fired it (in this case the SoulBaron)
- The SoulImp can and very often does infight the SoulBaron that fired it, despite having a NOINFIGHTING flag and not taking damage (otherwise it would be dead)