mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-02 09:02:18 +00:00
46f7e38e46
This needed 5 actor flags to handle some really inane special cases!
63 lines
762 B
Text
63 lines
762 B
Text
|
|
class DukeLizMan : DukeActor
|
|
{
|
|
default
|
|
{
|
|
pic "LIZMAN";
|
|
+INTERNAL_BADGUY;
|
|
+KILLCOUNT;
|
|
+GREENSLIMEFOOD;
|
|
+DONTENTERWATER;
|
|
+RANDOMANGLEONWATER;
|
|
moveclipdist 18.25;
|
|
}
|
|
|
|
override void PlayFTASound()
|
|
{
|
|
self.PlayActorSound("CAPT_RECOG");
|
|
}
|
|
}
|
|
|
|
class DukeLizManSpitting : DukeLizMan
|
|
{
|
|
default
|
|
{
|
|
pic "LIZMANSPITTING";
|
|
}
|
|
}
|
|
|
|
class DukeLizManFeeding : DukeLizMan
|
|
{
|
|
default
|
|
{
|
|
pic "LIZMANFEEDING";
|
|
}
|
|
}
|
|
|
|
class DukeLizManJump : DukeLizMan
|
|
{
|
|
default
|
|
{
|
|
pic "LIZMANJUMP";
|
|
}
|
|
}
|
|
|
|
class DukeLizManStayput : DukeLizMan
|
|
{
|
|
default
|
|
{
|
|
pic "LIZMANSTAYPUT";
|
|
}
|
|
|
|
override void PlayFTASound()
|
|
{
|
|
}
|
|
|
|
override void initialize()
|
|
{
|
|
super.initialize();
|
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
|
}
|
|
|
|
}
|
|
|