Info elevator floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by 12 users not shown)
Line 1: Line 1:
''This [[point entity]] is only available in [[Left 4 Dead]].'' 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 ==
{{KV Targetname}}
{{KV Targetname}}
{{KV Parentname}}
{{KV Angles}}
== Inputs ==
{{I Targetname}}


== Outputs ==
== Outputs ==
 
{{O|OnReachedFloor|activator = caller = func_elevator entity that reached this floor|caller=hide|Fired when an elevator reaches this floor.
; <code>OnReachedFloor</code>
:{{warning|The {{mono|info_elevator_floor}} entity must have a name other than <code>top</code> or <code>bottom</code> for this to fire}}}}
: Fired when an elevator reaches this floor.
{{O Targetname}}
 
{{wrongtitle|title=info_elevator_floor}}[[Category:Entities]][[Category:Left 4 Dead Entities]]

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