raze/wadsrc/static/zscript/games/duke/actors/commander.zs
2023-04-09 09:35:37 +02:00

30 lines
443 B
Text

class DukeCommander : DukeActor
{
default
{
pic "COMMANDER";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NOWATERDIP;
+FLOATING;
}
override void PlayFTASound()
{
self.PlayActorSound("COMM_RECOG");
}
}
class DukeCommanderStayput: DukeCommander
{
default
{
pic "COMMANDERSTAYPUT";
}
override void initialize()
{
super.initialize();
self.actorstayput = self.sector; // make this a flag once everything has been exported.
}
}