Func elevator: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(major update) |
||
Line 1: | Line 1: | ||
{{ | {{brushmodel}} | ||
== Entity description== | == Entity description== | ||
A | A brush entity that moves vertically. | ||
For an example of a <code>func_elevator</code>, refer to a decompiled copy of Valve's 4th level of the No Mercy campaign. | For an example of a <code>func_elevator</code>, refer to a decompiled copy of Valve's 4th level of the No Mercy campaign. | ||
Line 14: | Line 13: | ||
== Inputs == | == Inputs == | ||
* '''MoveToFloor''' | * '''MoveToFloor''' Moves to the specified [[info_elevator_floor]] | ||
* '''input Disable''' | |||
== Outputs == | == Outputs == | ||
* ''' | * '''OnReachedTop''' Fired when the brush reaches the top. | ||
* '''OnReachedBottom''' Fired when the brush reaches the bottom. | |||
* |
Revision as of 13:40, 19 July 2009
Entity description
A brush entity that moves vertically.
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
ortarget
).
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 Moves to the specified info_elevator_floor
- input Disable
Outputs
- OnReachedTop Fired when the brush reaches the top.
- OnReachedBottom Fired when the brush reaches the bottom.