raze/wadsrc/static/zscript/games/duke/actors/rrraenemies/cheerboat.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
301 B
Text

class RedneckCheerBoat : DukeActor
{
default
{
pic "CHEERBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 6;
landmovefactor 0.5;
Strength 200;
}
override void Initialize(DukeActor spawner)
{
self.scale = (0.5, 0.5);
self.setClipDistFromTile();
}
}