In one monster, who is supposed to activate a script on his death, he doesn't.
I tried forcing the script in-game, and it works just fine, but for some reason the monster won't activate it when he dies.
Here's the code for the monster.
Code: Select all
ACTOR YellowBoss 5504
{
Game Doom
SpawnID 125
Health 10000
Radius 30
Height 112
Mass 50000
Scale 3.0
Speed 0
Species Yellow
translation "0:255=160:167"
MONSTER
+SOLID
+SHOOTABLE
+NOBLOOD
+ACTIVATEMCROSS
+DONTGIB
+NOICEDEATH
+OLDRADIUSDMG
DeathSound "world/barrelx"
Obituary "$OB_BARREL" // "%o went boom."
States
{
Spawn:
BAR1 AB 6
Loop
Death:
BEXP A 5 BRIGHT A_NoBlocking
BEXP B 5 BRIGHT A_Scream
BEXP C 5 ACS_Execute (13, 1)
BEXP D 5 BRIGHT A_Explode (9999, 9999)
BEXP E 10 BRIGHT
TNT1 A -5
stop
}
}
Are monsters simply not allowed to use scripts in thier death state?.. I ask that because from what I've seen, A_Explode can ONLY be used in a monster's death state, so maybe this is state-specific too? idk, just guessing.. I just wish this would work.
Any ideas?