Moderator: GZDoom Developers
class ShotgunGuy2 : ShotgunGuy replaces ShotgunGuy
{
void SGGuy_NoBlocking ()
{
// On maps 1 and 2, drop shells, otherwise drop the default item.
if (Level.levelnum < 3)
{
A_NoBlocking(false);
A_DropItem("Shell");
}
else
{
A_NoBlocking();
}
}
States
{
Death:
SPOS H 5;
SPOS I 5 A_Scream;
SPOS J 5 SGGuy_NoBlocking;
SPOS K 5;
SPOS L -1;
Stop;
XDeath:
SPOS M 5;
SPOS N 5 A_XScream;
SPOS O 5 SGGuy_NoBlocking;
SPOS PQRST 5;
SPOS U -1;
Stop;
}
}
Ebenezer Fottingnotch wrote:I want to keep the replacement monster the same actor and not have to make an inherited clone that only drops ammo.
Users browsing this forum: No registered users and 1 guest