raze/wadsrc/static/zscript/games/duke/actors/commander.zs
2023-04-12 20:07:12 +02:00

32 lines
478 B
Text

class DukeCommander : DukeActor
{
default
{
pic "COMMANDER";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NOWATERDIP;
+FLOATING;
gutsoffset -24;
falladjustz 0;
}
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.
}
}