Floor RaiseToHighest: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "24:'''Floor_RaiseToHighest'''(''tag'', ''speed'', ''change'', ''crush'') Raises tagged floors to their highest adjacent neighbours. ''Speed'' is number of map unit eighths pe...")
 
No edit summary
 
Line 1: Line 1:
24:'''Floor_RaiseToHighest'''(''tag'', ''speed'', ''change'', ''crush'')
{{LineSpecial|description=Raises tagged floors to their highest adjacent neighbours.
 
|usage='''Floor_RaiseToHighest'''(''tag'', ''speed'', ''change'', ''crush'')
Raises tagged floors to their highest adjacent neighbours. ''Speed'' is number of map unit eighths per tic, and for classic Doom floors it should be 8. ''Change'' sets whether to change floor texture and sector type upon raising the floor (see [[Floor_LowerByValue]] for details). ''Crush'' is optional damage inflicted on blocking things.
|parameters=
 
*''tag'': {{SectorTag}}
Similar to the Boom 'fixed' behaviour, such floors, if crushing, will stop movement while dealing damage.
*''speed'': {{SectorSpeed}}
*''change'': {{SectorChange}}
*''crush'': {{SectorCrush}}
|notes=Similar to the Boom 'fixed' behaviour, such floors, if crushing, will stop movement while dealing damage.


Note that under vanilla Hexen this special acts unexpectedly: it raises the floor to the lowest neighbour ''ceiling''. But in any other game modes this special will act as advertised.
Note that under vanilla Hexen this special acts unexpectedly: it raises the floor to the lowest neighbour ''ceiling''. But in any other game modes this special will act as advertised.
 
|udmf=24
==See also==
|extradata=306}}
*[[Parameterized linedef specials]]
 
[[Category:Editing]]

Latest revision as of 12:38, 12 May 2021

Description

This is a parameterized linedef special.

Raises tagged floors to their highest adjacent neighbours.

Usage

Floor_RaiseToHighest(tag, speed, change, crush)

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).
  • change: whether to change the texture (e.g. remove liquid to show solid floor) and/or sector type (e.g. damaging floor). Trigger model means to use the floor in front of the trigger linedef as reference to change to. Numeric model means to scan the surrounding sectors of tagged ones (as if sinking something into a liquid). Possible values are:
  • 0: no change, basic behaviour;
  • 1: trigger model, zero out the type;
  • 2: numeric model, zero out the type;
  • 3: trigger model, change texture;
  • 4: numeric model, change texture;
  • 5: trigger model, change both texture and type;
  • 6: numeric model, change both texture and type.
  • crush: crushing damage to inflict to things jamming the sector, at the same rate as in Doom (10 damage being the classic example).

Examples

No examples given.

Notes

Similar to the Boom 'fixed' behaviour, such floors, if crushing, will stop movement while dealing damage.

Note that under vanilla Hexen this special acts unexpectedly: it raises the floor to the lowest neighbour ceiling. But in any other game modes this special will act as advertised.

The linedef special identification is 24 (UDMF) or 306 (ExtraData).

See also