mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 20:40:39 +00:00
46f7e38e46
This needed 5 actor flags to handle some really inane special cases!
34 lines
525 B
Text
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.
|
|
}
|
|
}
|