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

36 lines
576 B
Text

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