Using Zandronum, this actor is incredibly laggy, and only while I'm looking at it. Does anyone know how to speed this up?
Code: Select all
Actor GutSwitchBody : DeadMarine {
Health 1
-Corpse
Monster
-SOLiD
+VULNERABLE
-SHOOTABLE
+NORADIUSDMG
States
{
Spawn:
PLAY N 1
Wait
Pain:
Death:
PLAY W -1
Stop
}
}
Actor GutSwitchDoor : SwitchingDecoration 20211 {
Activation THINGSPEC_Activate
Radius 16
Height 40
ProjectilePassHeight -16
+SOLID
+USESPECIAL
+ISMONSTER
States{
Spawn:
Pain:
Inactive:
COL2 A 1 A_SpawnItemEx("GutSwitchBody", 48, 0, 0, 0, 0, 0, 0, SXF_SETMASTER, 0, 0)
Wait
Active:
COL5 B 0 Door_Open(200, 16, 0)
COL5 AB 14 A_KillChildren
Goto Twitch
Twitch:
COL5 AB 14
Loop
}
}