From ZDoom Wiki
Jump to navigation Jump to search

34:ClearForceField (tag)

  • tag: sector to clear forcefields from.


Clears all force fields from lines connected to the tagged sector. It will also clear the force field's middle texture.


If forcefields are set up in a way such that the player cannot pass (this can be done with two in a row at angles), then you can create an effective power off sequence with a script like this:

script 1 (int sector)
	Print(s:"Power off...");
	Light_Fade(sector, 64, 70);

Just tie it to a power switch and it will deactivate lights and forcefields.

Conversions from linedef types

The following Doom map format types can be converted as ClearForceField:

Type Conversion Trigger
MiniStrifeLogoIcon.pngStrife 147:S1 Clear Forcefield ClearForceField(tag) Player Use