2022-12-13 18:39:27 +00:00
|
|
|
class DukeBoss2 : DukeBoss1
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "BOSS2";
|
2022-12-23 07:11:57 +00:00
|
|
|
-ALTHITSCANDIRECTION;
|
2022-12-16 11:47:30 +00:00
|
|
|
+NONSMOKYROCKET; // If this wasn't needed for a CON defined actor it could be handled better
|
2022-12-23 18:56:39 +00:00
|
|
|
+SPECIALINIT;
|
2022-12-29 18:12:35 +00:00
|
|
|
+ST3CONFINED;
|
|
|
|
+DONTENTERWATER;
|
2022-12-13 18:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void PlayFTASound()
|
|
|
|
{
|
|
|
|
if (self.pal == 1)
|
|
|
|
Duke.PlaySound("BOS2_RECOG");
|
|
|
|
else Duke.PlaySound("WHIPYOURASS");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class DukeBoss2Stayput : DukeBoss2
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "BOSS2STAYPUT";
|
|
|
|
}
|
2022-12-14 11:28:43 +00:00
|
|
|
|
|
|
|
override void initialize()
|
|
|
|
{
|
|
|
|
super.initialize();
|
|
|
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
|
|
|
}
|
|
|
|
|
2022-12-13 18:39:27 +00:00
|
|
|
}
|
|
|
|
|