Func elevator: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=func_elevator}}
{{wrongtitle|title=func_elevator}}
{{note|The current description of this entity is based on unofficial data based on data mining. Anything that may be read here is largely incomplete or, in some cases, incorrect.}}


== Entity description==
== Entity description==

Revision as of 20:25, 23 February 2009

Template:Wrongtitle

Note.pngNote:The current description of this entity is based on unofficial data based on data mining. Anything that may be read here is largely incomplete or, in some cases, incorrect.

Entity description

A brush entity that's designed to be used for a player-usable button. When used by the player, it moves to a pressed position. Template:Brushmodel For an example of a func_elevator, refer to a decompiled copy of Valve's 4th level of the No Mercy campaign.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • Origin:
Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
  • top
  • bottom

Inputs

  • MoveToFloor

Outputs

  • OnPressed

See also