qzdoom/wadsrc/static/zscript/shared/decal.txt
Christoph Oelckers a5ee673c91 - exported ADecal to ZScript as a non-native class.
Its one function is still native but this was by far the easiest of the remaining actor classes to export.
2018-11-19 17:54:38 +01:00

11 lines
136 B
Text

class Decal : Actor
{
native void SpawnDecal();
override void BeginPlay()
{
Super.BeginPlay();
SpawnDecal();
Destroy();
}
}