Func portal detector: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 5: Line 5:
This brush-based entity is exclusive to [[Portal]].
This brush-based entity is exclusive to [[Portal]].
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{KV Targetname}}
* {{KV EnableDisable}}
* {{KV EnableDisable}}
==Inputs==
==Inputs==

Revision as of 19:59, 19 January 2009

Template:Wrongtitle

Entity Description

A region that fires an output if a portal is placed in it.

Availability

This brush-based 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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
  • Toggle
Toggle this entity.

Outputs

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.