raze/wadsrc/static/zscript/games/duke/actors/commander.zs

33 lines
478 B
Text
Raw Normal View History

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