Func areaportal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Additional category)
No edit summary
Line 4: Line 4:
}}
}}


[[File:Toolsareaportal.gif|link=Areaportal|left]]
{{base_brush|func_areaportal}}


{{base_brush|func_areaportal}} It creates an [[areaportal]], used to manage visibility in maps. When the portal is open it stops objects not visible through it from rendering; when the portal is closed it cannot be seen through at all.
==Entity description==
[[File:Toolsareaportal.gif|link=Areaportal|left]]It creates an [[areaportal]], used to manage visibility in maps. When the portal is open it stops objects not visible through it from rendering; when the portal is closed it cannot be seen through at all.


The entity's brush must be textured with <code>tools\toolsareaportal</code> (seen on the left) for it to function.
The entity's brush must be textured with <code>tools\toolsareaportal</code> (seen on the left) for it to function.
Line 28: Line 29:
== Outputs ==
== Outputs ==
{{O Targetname}}
{{O Targetname}}


== See also ==
== See also ==

Revision as of 10:17, 8 May 2012

Template:Otherlang2

Template:Base brush

Entity description

Toolsareaportal.gif

It creates an areaportal, used to manage visibility in maps. When the portal is open it stops objects not visible through it from rendering; when the portal is closed it cannot be seen through at all.

The entity's brush must be textured with tools\toolsareaportal (seen on the left) for it to function.

Keyvalues

Name of Linked Door <targetname>
A prop_door_rotating or func_door whose open/closed state controls the on/off state of the portal.
Initial State <bool>
Initial state of the portal.
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

Inputs

Open
Close
Toggle
Control the state of the portal.


Outputs

See also