Info elevator floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 7: Line 7:


== Outputs ==
== Outputs ==
{{O|OnReachedFloor|activator = !caller = !self = func_elevator entity that reached this floor|caller=hide|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 a name other than <code>top</code> or <code>bottom</code> for this to fire}}}}
:{{warning|The {{mono|info_elevator_floor}} entity must a name other than <code>top</code> or <code>bottom</code> for this to fire}}}}

Revision as of 01:07, 26 April 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 a name other than top or bottom for this to fire