Канал в IRC
RusNet: #cmt
Func_areaportal

Func_areaportal

Table of contents
1 Entity Description
2 Keyvalues
3 Inputs
4 Outputs
5 See Also

Entity Description

A portal brush is used to manage visibility in maps. Portals define areas, or spaces that are connected in the map. Both sides of a portal cannot touch the same area, for example, a doughnut-shaped map would require at least two portals to divide the map into two areas. A linear map could be divided into two areas with a single area portal. See Controlling Geometry Visibility and Compile Times: Areaportals for more information.


Keyvalues

<target_source> The name that other entities refer to this entity by.
<target_destination> (Optional) The name of a door whose open/closed state controls the on/off state of this area portal.
<boolean> Choose the initial state of this entity.

Inputs

Removes this entity from the world.
Removes this entity and all its children from the world.
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.
Open the portal. When the portal is open is can be seen through.
Close the portal. When the portal is closed it cannot be seen through.
Toggle the open/closed state of the portal.



Outputs

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

See Also


К оглавлению справочника

© Valve Developer Community
CMT (CS Mapping Tutorials) - © 2006-2011. Created by VM
[ Script Execution time: 0.0011 ]