raze/wadsrc/static/zscript/games/duke/actors/rrraenemies/cootbillyplay.zs
Christoph Oelckers 513de38723 - pass the spawner to Initialize as an explicit parameter.
Using ownerActor is not robust, for some actors this will have unwanted side effects.
2023-05-19 22:57:26 +02:00

36 lines
550 B
Text

class RedneckCootplay : DukeActor
{
default
{
pic "COOTPLAY";
+INTERNAL_BADGUY;
+LOOKALLAROUND;
+NORADIUSPUSH;
Strength 10000;
}
override void Initialize(DukeActor spawner)
{
self.scale = (0.375, 0.28128);
self.setClipDistFromTile();
self.clipdist *= 4;
}
}
class RedneckBillyPlay : DukeActor
{
default
{
pic "BILLYPLAY";
+INTERNAL_BADGUY;
+LOOKALLAROUND;
+NORADIUSPUSH;
Strength 10000;
}
override void Initialize(DukeActor spawner)
{
self.scale = (0.390625, 0.328125);
self.setClipDistFromTile();
}
}