prop_indicator_panel

From Source Entities
Jump to navigation Jump to search
Prop indicator panel.png

Code classes:

prop_indicator_panel is a point entity present in P2.pngPortal 2. It's a panel used to display an object's activation state. Often used for:

  • Any inputs to the exit door.
  • Multiple inputs to a single item.
  • Indicator lights that do not reach all the way to the target item; for example, if the item is suspended in the middle of goo.

Tip: The panel sits one unit behind the entity's origin, but the origin actually needs to rest two units away from the wall's surface to avoid Z-fighting.

Note: Old Aperture and P1.png use a func_brush and env_texturetoggle.

Keyvalues[edit | edit source]

Is a timer (IsTimer) <boolean>
Makes the panel acts as a timer.
Timer Duration (TimerDuration) <float>
If the panel Is a timer, how long the timer should be.
Is checked (IsChecked) <boolean>
Makes the panel checked by default.
Indicator Lights (IndicatorLights) <target_destination>
One or more info_overlays to toggle when this panel is activated/deactivated.
Start visible? (Enabled) <boolean>
No effect. The panel is always visible.

Inputs[edit | edit source]

Check
Shows a check mark.
Uncheck
Shows an X.
Start
Shows a timer and starts counting down.
Reset
Stops the timer.
Stop
No effect.