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

20 lines
No EOL
367 B
Text

class RedneckCheerleader : DukeActor
{
default
{
pic "CHEER";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+ALTPROJECTILESPRITE; // owed to CON's shittiness. Todo: Think of something better.
jumptoplayer_factor 1.6;
Strength 200;
}
override void Initialize(DukeActor spawner)
{
self.scale = (0.3125, 0.3125);
self.setClipDistFromTile();
}
}