Info elevator floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-removed unnecessary information)
No edit summary
 
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{l4d series point|info_elevator_floor}} It marks an elevator floor. It is only compatible with a [[func_elevator]].
{{LanguageBar}}
{{CD|CInfoElevatorFloor|file1=1}}
{{This is a|point entity|game=Left 4 Dead series|game1=Insurgency|name=info_elevator_floor}} It marks an elevator floor. It is only compatible with a [[func_elevator]].


== Keyvalues ==
== Keyvalues ==
Line 5: Line 7:


== Outputs ==
== Outputs ==
{{IO|OnReachedFloor|Fired when an elevator reaches this floor.}}
{{O|OnReachedFloor|activator = caller = func_elevator entity that reached this floor|caller=hide|Fired when an elevator reaches this floor.
:{{warning|The {{mono|info_elevator_floor}} entity must have a name other than <code>top</code> or <code>bottom</code> for this to fire}}}}

Latest revision as of 03:38, 20 May 2025

English (en)中文 (zh)Translate (Translate)
C++ Class hierarchy
CInfoElevatorFloor
CPointEntity
CBaseEntity
C++ func_elevator.cpp

info_elevator_floor is a point entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series and Insurgency Insurgency. It marks an elevator floor. It is only compatible with a func_elevator.

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

Outputs

OnReachedFloor
!activator = caller = func_elevator entity that reached this floor
Fired when an elevator reaches this floor.
Warning.pngWarning:The info_elevator_floor entity must have a name other than top or bottom for this to fire