Func liquidportal

From Valve Developer Community

Table of contents

Entity description

Marks the space filled with portal liquid and teleport entities when done.

Availability

This brush-based entity is exclusive to Portal.

Keyvalues

  • origin
<origin> The position of this entity's center in the world. Rotating entities rotate around their origin.
Pitch Yaw Roll (Y Z X)
This entity's angular orientation in the world (also used for angular effect entities).
  • Linked liquid portal
<string>
  • Fill Time (sec)
<float> How long the volume takes to fill in seconds.

Inputs

  • Kill
Removes this entity from the world.
Removes this entity and all its children from the world.
  • AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
  • SetLinkedLiquidPortal
The liquid portal this should link to. Will update linked portal to point back.
  • SetFillTime
How long the area takes to fill.
  • StartFilling
Start filling NOW. Entities teleport when finished.
  • AddActivatorToTeleportList
Add the activator entity to the list of entities to teleport when filling is finished.
  • RemoveActivatorFromTeleportList
emove the activator entity from the list of entities to teleport when filling is finished.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator