Prop portal: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{portal series point|prop_portal}} | ||
==Entity Description== | ==Entity Description== | ||
A prop representing one of the two portals. | A prop representing one of the two portals. | ||
==Keyvalues== | ==Keyvalues== | ||
* {{KV Targetname}} | * {{KV Targetname}} | ||
Line 14: | Line 13: | ||
* '''LinkageGroupID''' | * '''LinkageGroupID''' | ||
:<interger> Portal pair ID that it belongs to. | :<interger> Portal pair ID that it belongs to. | ||
==Inputs== | ==Inputs== | ||
* {{I Targetname}} | * {{I Targetname}} | ||
Line 24: | Line 24: | ||
* '''NewLocation''' | * '''NewLocation''' | ||
:<string> Sets this portals location and angles. This expects 6 floats with space delimiters, the format is 'x y z pitch yaw roll'. | :<string> Sets this portals location and angles. This expects 6 floats with space delimiters, the format is 'x y z pitch yaw roll'. | ||
==Outputs== | ==Outputs== | ||
* {{O Targetname}} | * {{O Targetname}} | ||
* '''OnPlacedSuccessfully''' | * '''OnPlacedSuccessfully''' | ||
: Fired when portal spawns successfully | : Fired when portal spawns successfully | ||
Revision as of 06:06, 23 April 2011
Entity Description
A prop representing one of the two portals.
Keyvalues
- 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
- 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
- SetActivatedState <boolean>
- 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
- OnPlacedSuccessfully
- Fired when portal spawns successfully