mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-30 07:50:54 +00:00
36 lines
576 B
Text
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.
|
|
}
|
|
}
|