Plat_RaiseAndStayTx0
Raises a platform to the next highest floor, sets its floor texture to match the floor texture on the front side of the triggering line, and sets the plat's sector special to zero. If tag is 0, then the sector on the line's back side is used.
228:Plat_RaiseAndStayTx0 (tag, speed, lockout)
- tag: Tag of affected sector
- speed: Speed of move
- lockout: Whether the platform can move again afterwards.
If lockout is 0, the behavior depends on the game. In Heretic, to emulate a vanilla bug, the platform sector's floor becomes locked out and no other form of sector movement will work on it. In other games, this behaves normally, without locking up. A value of 1 forces the correct behavior in all games, including Heretic; and a value of 2 forces the bugged behavior in all games.
Examples
![]() |
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |
Conversions from linedef types
The following Doom map format types can be converted as Plat_RaiseAndStayTx0:
Type | Conversion | Trigger |
---|---|---|
![]() | Plat_RaiseAndStayTx0 (tag, 4) | Player Use |
![]() | Plat_RaiseAndStayTx0 (tag, 4) | Player Cross |
![]() | Plat_RaiseAndStayTx0 (tag, 4) | Attack Hit, Missile Cross |
![]() | Plat_RaiseAndStayTx0 (tag, 4) | Player Use, Repeatable |
![]() | Plat_RaiseAndStayTx0 (tag, 4) | Player Cross, Repeatable |
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.