raze/wadsrc/static/zscript/games/duke/actors/redneckenemies/cow.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

19 lines
No EOL
249 B
Text

class RedneckCow : DukeActor
{
const COWSTRENGTH = 50;
default
{
pic "COW";
+BADGUY;
+NODAMAGETURN;
Strength COWSTRENGTH;
}
override void Initialize(DukeActor spawner)
{
self.scale = (0.5, 0.5);
self.setClipDistFromTile();
}
}