Info elevator floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(created page)
 
No edit summary
 
(20 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_elevator_floor}}
{{LanguageBar}}
{{base_point}}
{{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]].
== Entity description ==
[[Image:{{PAGENAME}}.png|left]]An '''info_target''' marks the height an elevator floor.
{{note|This entity is only compatible with a [[func_elevator]].}}


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV Targetname}}
* {{KV Parentname}}
* {{KV Angles}}
 
== Inputs ==
* {{I Targetname}}


== Outputs ==
== Outputs ==
* {{O Targetname}}
{{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.

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