Func liquidportal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Cleanup)
Line 1: Line 1:
{{portal brush|func_liquidportal}}
{{portal brush|func_liquidportal}} It marks the space filled with portal liquid and teleports entities when done.
 
== Entity description ==
Marks the space filled with portal liquid and teleport entities when done.
{{bug|This entity is incomplete and does not function.}}
{{bug|This entity is incomplete and does not function.}}


== Keyvalues ==
== Keyvalues ==
* {{KV Origin}}
{{KV|Linked liquid portal.|string}}
* {{KV Angles}}
{{KV|Fill Time (sec)|float|How long the volume takes to fill in seconds.}}
* '''Linked liquid portal'''
{{KV Origin}}
: <string>
{{KV Angles}}
* '''Fill Time (sec)'''
: <float> How long the volume takes to fill in seconds.


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{IO|SetLinkedLiquidPortal|The liquid portal this should link to. Will update linked portal to point back.|param=string}}
* '''SetLinkedLiquidPortal'''
{{IO|SetFillTime|How long the area takes to fill.|param=float}}
: The liquid portal this should link to. Will update linked portal to point back.
{{IO|StartFilling|Start filling NOW. Entities teleport when finished.}}
* '''SetFillTime'''
{{IO|AddActivatorToTeleportList|Add the activator entity to the list of entities to teleport when filling is finished.}}
: How long the area takes to fill.
{{IO|RemoveActivatorFromTeleportList|Remove the activator entity from the list of entities to teleport when filling is finished.}}
* '''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 ==
== Outputs ==
* {{O Targetname}}
{{O Targetname}}

Revision as of 15:43, 31 July 2011

Template:Portal brush It marks the space filled with portal liquid and teleports entities when done.

Icon-Bug.pngBug:This entity is incomplete and does not function.  [todo tested in ?]

Keyvalues

Linked liquid portal. ([todo internal name (i)]) <string>
Fill Time (sec) ([todo internal name (i)]) <float>
How long the volume takes to fill in seconds.

Origin:

Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

SetLinkedLiquidPortal <stringRedirectInput/string>
The liquid portal this should link to. Will update linked portal to point back.
SetFillTime <floatRedirectInput/float>
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