GlassBreak

From ZDoom Wiki

Jump to: navigation, search

49:GlassBreak (dontspawnjunk)

The GlassBreak special is used to create glass that breaks when the line is activated. Normally you should set the line's activation type to projectile hits and the flags to impassible. When this special is activated three things happen:

  • the line's switch texture state is changed (from on to off or vice versa) and the switch sound is played
  • the line's flags are changed to be non-blocking
  • if the passed parameter is 0 seven GlassJunk actors are spawned at the line's center (at the side the line is facing to)
Personal tools