raze/wadsrc/static/zscript/games/duke/actors/boss3.zs
2023-04-16 16:53:51 +02:00

32 lines
No EOL
446 B
Text

class DukeBoss3 : DukeBoss1
{
default
{
pic "BOSS3";
-ALTHITSCANDIRECTION;
}
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.
}
}