raze/wadsrc/static/zscript/games/duke/actors/burning.zs
Christoph Oelckers ccc048136f - exported TOILETWATER, BURNING and EXPLOSION2.
All types needed for cleaning up PicForName
2023-04-02 13:00:13 +02:00

28 lines
373 B
Text

class DukeBurning : DukeActor
{
default
{
pic "BURNING";
}
override void Initialize()
{
if (!self.mapSpawned)
{
double c,f;
[c, f] = self.sector.getSlopes(self.pos.XY);
self.pos.Z = min(self.pos.Z, f - 12);
}
self.Scale = (0.0625, 0.0625);
self.ChangeStat(STAT_MISC);
}
}
class DukeBurning2 : DukeBurning
{
default
{
pic "BURNING2";
}
}