qzdoom-gpl/wadsrc/static/zscript/shared/waterzone.txt
2016-11-29 19:50:34 +01:00

19 lines
229 B
Text

class WaterZone : Actor
{
default
{
+NOSECTOR
+NOBLOCKMAP
+NOGRAVITY
+DONTSPLASH
}
override void PostBeginPlay ()
{
Super.PostBeginPlay ();
CurSector.MoreFlags |= Sector.SECMF_UNDERWATER;
Destroy ();
}
}