Prop portal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 6: Line 6:
This point entity is exclusive to [[Portal]].
This point entity is exclusive to [[Portal]].
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{KV Targetname}}
* {{KV Angles}}
* {{KV Angles}}
* '''PortalTwo'''
* '''PortalTwo'''

Revision as of 19:59, 19 January 2009

Template:Wrongtitle

Entity Description

A prop representing one of the two portals.

Availability

This point entity is exclusive to Portal.

Keyvalues

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

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.
  • PortalTwo
<boolean> Is this portal an orange portal?
  • Activated
<boolean> Is this portal activated at start?
  • LinkageGroupID
<interger> Portal pair ID that it belongs to.

Inputs

  • SetName
<string> Naming your portals is fun
Set Activated
  • Fizzle
Fizzle and remove
  • NewLocation
<string> Sets this portals location and angles. This expects 6 floats with space delimiters, the format is 'x y z pitch yaw roll'.

Outputs

Fired when portal spawns successfully