Prop portal: Difference between revisions
Jump to navigation
Jump to search
m (Updated entity data style for consistency) |
m (Re-arranged some fields) |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|PortalTwo|boolean|Is this portal an orange portal?}} | {{KV|PortalTwo|boolean|Is this portal an orange portal?}} | ||
{{KV|Activated|boolean|Is this portal activated at start?}} | {{KV|Activated|boolean|Is this portal activated at start?}} | ||
{{KV|LinkageGroupID|interger|Portal pair ID that it belongs to.}} | {{KV|LinkageGroupID|interger|Portal pair ID that it belongs to.}} | ||
{{KV Targetname}} | |||
{{KV Angles}} | |||
==Inputs== | ==Inputs== | ||
{{IO|SetName|Naming your portals is fun}} | {{IO|SetName|Naming your portals is fun}} | ||
{{IO|SetActivatedState|Set Activated|param=boolean}} | {{IO|SetActivatedState|Set Activated|param=boolean}} | ||
{{IO|Fizzle|Fizzle and remove}} | {{IO|Fizzle|Fizzle and remove}} | ||
{{IO|NewLocation|Sets this portals location and angles. This expects 6 floats with space delimiters, the format is 'x y z pitch yaw roll'|param=string}} | {{IO|NewLocation|Sets this portals location and angles. This expects 6 floats with space delimiters, the format is 'x y z pitch yaw roll'|param=string}} | ||
{{I Targetname}} | |||
==Outputs== | ==Outputs== | ||
{{IO|OnPlacedSuccessfully|Fired when portal spawns successfully}} | |||
{{O Targetname}} | {{O Targetname}} | ||
Revision as of 01:45, 13 May 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.
Inputs
- SetName
- 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