mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-12 13:41:48 +00:00
513de38723
Using ownerActor is not robust, for some actors this will have unwanted side effects.
27 lines
No EOL
398 B
Text
27 lines
No EOL
398 B
Text
class DukeTurret : DukeActor
|
|
{
|
|
const TURRETSTRENGTH = 30;
|
|
|
|
default
|
|
{
|
|
pic "ORGANTIC";
|
|
Strength TURRETSTRENGTH;
|
|
+INTERNAL_BADGUY;
|
|
+KILLCOUNT;
|
|
+NOVERTICALMOVE;
|
|
+NOHITJIBS;
|
|
+NOSHOTGUNBLOOD;
|
|
aimoffset 32;
|
|
}
|
|
|
|
override void PlayFTASound(int mode)
|
|
{
|
|
self.PlayActorSound("TURR_RECOG");
|
|
}
|
|
|
|
override void Initialize(DukeActor spawner)
|
|
{
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
}
|
|
|
|
} |