raze/wadsrc/static/zscript/games/duke/actors/dukestuff/blimp.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
282 B
Text

class DukeBlimp : DukeActor
{
const BLIMPRESPAWNTIME = 2048;
default
{
pic "BLIMP";
Strength 1;
+SPAWNWEAPONDEBRIS;
}
override void Initialize(DukeActor spawner)
{
self.cstat |= CSTAT_SPRITE_BLOCK_ALL;
self.clipdist = 32;
self.ChangeStat(STAT_ACTOR);
}
}