mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-30 07:50:54 +00:00
46f7e38e46
This needed 5 actor flags to handle some really inane special cases!
36 lines
592 B
Text
36 lines
592 B
Text
class DukeBoss2 : DukeBoss1
|
|
{
|
|
default
|
|
{
|
|
pic "BOSS2";
|
|
-ALTHITSCANDIRECTION;
|
|
+NONSMOKYROCKET; // If this wasn't needed for a CON defined actor it could be handled better
|
|
+SPECIALINIT;
|
|
+ST3CONFINED;
|
|
+DONTENTERWATER;
|
|
}
|
|
|
|
override void PlayFTASound()
|
|
{
|
|
if (self.pal == 1)
|
|
Duke.PlaySound("BOS2_RECOG");
|
|
else Duke.PlaySound("WHIPYOURASS");
|
|
}
|
|
}
|
|
|
|
|
|
class DukeBoss2Stayput : DukeBoss2
|
|
{
|
|
default
|
|
{
|
|
pic "BOSS2STAYPUT";
|
|
}
|
|
|
|
override void initialize()
|
|
{
|
|
super.initialize();
|
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
|
}
|
|
|
|
}
|
|
|