Plat UpByValueStayTx: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{LineSpecial|description=Raises a floor by a given amount, and changes floor texture by trigger model (to floor texture in front of trigger switch). |usage='''Plat_UpByValueS...") |
No edit summary |
||
Line 6: | Line 6: | ||
*''height_8x'': {{SectorHeightTimes8}} | *''height_8x'': {{SectorHeightTimes8}} | ||
|notes=This is a variation of [[Floor_RaiseByValue]], provided for Doom/Heretic compatibility. Unlike the aforementioned special, if the sector is blocked, it will return to its initial height instead of waiting to be unjammed. | |notes=This is a variation of [[Floor_RaiseByValue]], provided for Doom/Heretic compatibility. Unlike the aforementioned special, if the sector is blocked, it will return to its initial height instead of waiting to be unjammed. | ||
Beware that this changes the texture, but not the type, so if the intent was to raise a platform from damaging slime, it will not work as expected: the platform will still be harmful to players. | |||
|udmf=230 | |udmf=230 | ||
|extradata=476 | |extradata=476 | ||
|seealso= | |seealso= | ||
*[[Floor_RaiseByValue]]}} | *[[Floor_RaiseByValue]]}} |
Latest revision as of 12:15, 9 May 2021
Description
This is a parameterized linedef special.
Raises a floor by a given amount, and changes floor texture by trigger model (to floor texture in front of trigger switch).
Usage
Plat_UpByValueStayTx(tag, speed, height_8x)
Parameters
- tag: tag of sectors to trigger. If 0, it will trigger the sector behind the line.
- speed: speed to move tagged sectors by, in eighths of units (e.g. 16 is equivalent to standard Doom door speed).
- height_8x: absolute amount to move tagged sectors by, multiplied by 8.
Examples
No examples given.
Notes
This is a variation of Floor_RaiseByValue, provided for Doom/Heretic compatibility. Unlike the aforementioned special, if the sector is blocked, it will return to its initial height instead of waiting to be unjammed.
Beware that this changes the texture, but not the type, so if the intent was to raise a platform from damaging slime, it will not work as expected: the platform will still be harmful to players.
The linedef special identification is 230 (UDMF) or 476 (ExtraData).