This is a parameterized linedef special.
Toggles between the floor touching the ceiling and its initial height.
- tag: tag of sectors to trigger. If 0, it will trigger the sector behind the line.
No examples given.
Floor movement is instantaneous.
The floor will no longer respond to other actions except Plat_ToggleCeiling. From that point on, any such actions will toggle the floor position between its initial position and the position of the ceiling at the time of the first call. If the ceiling moves elsewhere in the meantime, the floor will still toggle to its initial assigned ceiling position, even if it happens to overlap the new ceiling.
If the floor is blocked by things from toggling to the ceiling, the action will have no effect.