raze/wadsrc/static/zscript/games/duke/actors/boss3.zs
Christoph Oelckers 46f7e38e46 - cleaned up movesprite_ex.
This needed 5 actor flags to handle some really inane special cases!
2023-04-23 09:42:27 +02:00

33 lines
No EOL
465 B
Text

class DukeBoss3 : DukeBoss1
{
default
{
pic "BOSS3";
-ALTHITSCANDIRECTION;
-DONTENTERWATER;
}
override void PlayFTASound()
{
if (self.pal == 1)
Duke.PlaySound("BOS3_RECOG");
else Duke.PlaySound("RIPHEADNECK");
}
}
class DukeBoss3Stayput : DukeBoss3
{
default
{
pic "BOSS3STAYPUT";
}
override void initialize()
{
super.initialize();
self.actorstayput = self.sector; // make this a flag once everything has been exported.
}
}