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

class RedneckMinionBoat : DukeActor
{
default
{
pic "MINIONBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 3;
landmovefactor 0.5;
Strength 150;
}
override void Initialize(DukeActor spawner)
{
self.scale = (0.25, 0.25);
self.setClipDistFromTile();
}
}