raze/wadsrc/static/zscript/games/duke/actors/boss3.zs
Christoph Oelckers 7b034b5eab - handle stayput for bosses.
The generic code is not ready yet so it has to be done manually.
2023-04-02 17:34:43 +02:00

31 lines
No EOL
422 B
Text

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