Floor MoveToValue: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "37:'''Floor_MoveToValue'''(''tag'', ''speed'', ''height'', ''negative'', ''change'') Moves tagged floors to a given absolute ''height'' value. ''Speed'' is number of eights o...")
 
No edit summary
Line 1: Line 1:
37:'''Floor_MoveToValue'''(''tag'', ''speed'', ''height'', ''negative'', ''change'')
37:'''Floor_MoveToValue'''(''tag'', ''speed'', ''height'', ''negative'', ''change'')
68:'''Floor_MoveToValueTimes8'''(''tag'', ''speed'', ''height'', ''negative'', ''change'')


Moves tagged floors to a given absolute ''height'' value. ''Speed'' is number of eights of map units per tic (8 is the traditional Doom floor speed). If ''negative'' is 1, the -''height'' destination will be targeted instead. ''Change'' specifies whether to change floor texture and/or effect.
Moves tagged floors to a given absolute ''height'' value. ''Speed'' is number of eights of map units per tic (8 is the traditional Doom floor speed). If ''negative'' is 1, the -''height'' destination will be targeted instead. ''Change'' specifies whether to change floor texture and/or effect.
'''Floor_MoveToValueTimes8''' is like '''Floor_MoveToValue''' except that the destination is actually ± ''height'' x 8. Both this special and the ''negative'' parameter are artifacts of the Hexen map format, used mainly by ZDoom when it introduced or extended these specials. Under [[UDMF]], [[ACS]] or [[ExtraData]] you won't need to use either the ''negative'' parameter or the '''Times8''' special.


==See also==
==See also==

Revision as of 02:13, 7 August 2019

37:Floor_MoveToValue(tag, speed, height, negative, change)

68:Floor_MoveToValueTimes8(tag, speed, height, negative, change)

Moves tagged floors to a given absolute height value. Speed is number of eights of map units per tic (8 is the traditional Doom floor speed). If negative is 1, the -height destination will be targeted instead. Change specifies whether to change floor texture and/or effect.

Floor_MoveToValueTimes8 is like Floor_MoveToValue except that the destination is actually ± height x 8. Both this special and the negative parameter are artifacts of the Hexen map format, used mainly by ZDoom when it introduced or extended these specials. Under UDMF, ACS or ExtraData you won't need to use either the negative parameter or the Times8 special.

See also