Func portal detector: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Updated entity data style for consistency) |
||
Line 1: | Line 1: | ||
{{portal series brush|func_portal_detector}} | {{portal series brush|func_portal_detector}} | ||
==Entity | ==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 EnableDisable}} | |||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | |||
{{I EnableDisable}} | |||
; <code>Toggle</code> | |||
: Toggle this entity. | : Toggle this entity. | ||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | |||
; <code>OnStartTouchPortal1</code> | |||
:Fired when portal 1 (blue) is placed intersecting the portal detector. | :Fired when portal 1 (blue) is placed intersecting the portal detector. | ||
; <code>OnStartTouchPortal2</code> | |||
:Fired when portal 2 (orange) is placed intersecting the portal detector. | :Fired when portal 2 (orange) is placed intersecting the portal detector. | ||
; <code>OnStartTouchLinkedPortal</code> | |||
:Fired when linked portal is placed intersecting the portal detector. | :Fired when linked portal is placed intersecting the portal detector. | ||
; <code>OnStartTouchBothLinkedPortals</code> | |||
: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 12:14, 3 May 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.