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 
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 | 
|---|---|---|
|  | Floor_Donut (tag, DORATE, DORATE) | Player Use | 
|  | Floor_Donut (tag, DORATE, DORATE) | Player Cross | 
|  | Floor_Donut (tag, DORATE, DORATE) | Player Cross, Repeatable | 
|  | Floor_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.