Func portal orientation

From Valve Developer Community
Revision as of 15:58, 4 April 2017 by Luke18033 (talk | contribs) (Portal 2 equivalent)
Jump to navigation Jump to search

Template:Portal brush It adjusts a portal's rotation to match a specified angle. The 'Bottom' of the portal points in the specified direction. In Portal 2 Portal 2, this entity has been replaced by info_placement_helper.

Keyvalues

Angles to face ([todo internal name (i)]) <angle>
The 'floor' of the portal pair linkage will be in this direction.
Match linked angles. ([todo internal name (i)]) <choices>
If set, portals placed in this volume will have their angles match their linked portals. This only works for floor or ceiling portals with a currently linked partner.
  • 0 : False
  • 1 : True
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

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs