func_liquidportal

From Valve Developer Community

Jump to: navigation, search


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 <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
  • Angles:

Pitch Yaw Roll (Y Z X) <angle>
This entity's angular orientation in the world.
  • Linked liquid portal
<string>
  • Fill Time (sec)
<float> How long the volume takes to fill in seconds.

Inputs

  • Targetname:

Kill
Removes this entity from the world.
KillHierarchy
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 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; 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
Remove the activator entity from the list of entities to teleport when filling is finished.

Outputs

  • Targetname:

OnUser1 to OnUser4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
OnKilled (New with Left 4 Dead)
Fired when the entity is killed and removed from the game.
Personal tools