mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-13 22:21:14 +00:00
513de38723
Using ownerActor is not robust, for some actors this will have unwanted side effects.
30 lines
No EOL
424 B
Text
30 lines
No EOL
424 B
Text
|
|
class DukeRotateGun : DukeActor
|
|
{
|
|
const ROTTURRETSTRENGTH = 40;
|
|
|
|
default
|
|
{
|
|
pic "ROTATEGUN";
|
|
Strength ROTTURRETSTRENGTH;
|
|
+INTERNAL_BADGUY;
|
|
+KILLCOUNT;
|
|
+NODAMAGEPUSH;
|
|
+NORADIUSPUSH;
|
|
+SHOOTCENTERED;
|
|
+NOVERTICALMOVE;
|
|
+MOVE_NOPLAYERINTERACT;
|
|
+NOHITJIBS;
|
|
+NOSHOTGUNBLOOD;
|
|
|
|
sparkoffset -3;
|
|
aimoffset 32;
|
|
shootzoffset 0;
|
|
}
|
|
|
|
override void Initialize(DukeActor spawner)
|
|
{
|
|
self.vel.Z = 0;
|
|
}
|
|
|
|
} |