raze/wadsrc/static/zscript/games/duke/actors/commander.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

34 lines
525 B
Text

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