Floor_Donut

From ZDoom Wiki
Jump to: navigation, search

250:Floor_Donut (ptag, pspeed, sspeed)


  • ptag: Tag of the pillar in the center of the donut
  • pspeed: How quickly to lower the pillar
  • sspeed: How quickly to raise the surrounding sector's floor

Performs DoomWikiLogoIcon.pnga donut action on the specified sectors.

Examples

In this example, the donut's pillar has a tag of 1, the pillar lowers with a speed of 10 and the floor around the pillar raises with a speed of 15, after which its floor is changed to that of the sector around.

Script 1 (void)
{
   Floor_Donut(1, 10, 15);
   Print(s:"Unflooding the area, moving the column down...");
}

Conversions from linedef types

The following Doom map format types can be converted as :

Type Conversion Trigger
MiniDoomLogoIcon.pngDoom 9:S1 Floor Donut Floor_Donut (tag, DORATE, DORATE) Player Use
MiniBoomLogoIcon.pngBoom 146:W1 Floor Donut Raise Floor_Donut (tag, DORATE, DORATE) Player Cross
MiniBoomLogoIcon.pngBoom 155:WR Floor Donut Raise Floor_Donut (tag, DORATE, DORATE) Player Cross, Repeatable
MiniBoomLogoIcon.pngBoom 191:SR Floor Donut Raise Floor_Donut (tag, DORATE, DORATE) Player Use, Repeatable