Func portal orientation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Cleanup) |
||
Line 1: | Line 1: | ||
{{portal brush|func_portal_orientation}} | {{portal brush|func_portal_orientation}} It adjusts a portal's rotation to match a specified angle. The 'Bottom' of the portal points in the specified direction. | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Angles to face|angle|The 'floor' of the portal pair linkage will be in this direction.}} | |||
{{KV|Match linked angles.|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 | |||
{{KV Targetname}} | |||
{{KV Parentname}} | |||
{{KV EnableDisable}} | |||
== Inputs == | == Inputs == | ||
{{I Targetname}} | |||
{{I Parentname}} | |||
{{I EnableDisable}} | |||
== Outputs == | == Outputs == | ||
{{O Targetname}} |
Revision as of 15:47, 31 July 2011
Template:Portal brush It adjusts a portal's rotation to match a specified angle. The 'Bottom' of the portal points in the specified direction.
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
ortarget
).
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 the
Enable
input).
Inputs
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <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 <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.