Func portal detector: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{portal series brush|func_portal_detector}} | ||
==Entity Description== | ==Entity Description== | ||
A region that fires an output if a portal is placed in it. | A region that fires an output if a portal is placed in it. | ||
==Keyvalues== | ==Keyvalues== | ||
* {{KV Targetname}} | * {{KV Targetname}} | ||
* {{KV EnableDisable}} | * {{KV EnableDisable}} | ||
==Inputs== | ==Inputs== | ||
* {{I Targetname}} | * {{I Targetname}} | ||
Line 12: | Line 13: | ||
* '''Toggle''' | * '''Toggle''' | ||
: Toggle this entity. | : Toggle this entity. | ||
==Outputs== | ==Outputs== | ||
* {{O Targetname}} | * {{O Targetname}} | ||
Line 22: | Line 24: | ||
* '''OnStartTouchBothLinkedPortals''' | * '''OnStartTouchBothLinkedPortals''' | ||
:Fired when both of a pair of portals is placed intersecting the portal detector. | :Fired when both of a pair of portals is placed intersecting the portal detector. | ||
Revision as of 06:12, 23 April 2011
Entity Description
A region that fires an output if a portal is placed in it.
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
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
- EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Toggle
- Toggle this entity.
Outputs
- OnStartTouchPortal1
- Fired when portal 1 (blue) is placed intersecting the portal detector.
- OnStartTouchPortal2
- Fired when portal 2 (orange) is placed intersecting the portal detector.
- OnStartTouchLinkedPortal
- Fired when linked portal is placed intersecting the portal detector.
- OnStartTouchBothLinkedPortals
- Fired when both of a pair of portals is placed intersecting the portal detector.