Floor_Donut

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 a 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 :

TypeConversionTrigger
Doom 9:S1 Floor DonutFloor_Donut (tag, DORATE, DORATE)Player Use
Boom 146:W1 Floor Donut RaiseFloor_Donut (tag, DORATE, DORATE)Player Cross
Boom 155:WR Floor Donut RaiseFloor_Donut (tag, DORATE, DORATE)Player Cross, Repeatable
Boom 191:SR Floor Donut RaiseFloor_Donut (tag, DORATE, DORATE)Player Use, Repeatable
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.