Point gel sensor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created this page)
 
m (→‎Outputs: Substituted IO templates)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Orphan|date=January 2024}}
{{lang|point_gel_sensor}}
{{lang|point_gel_sensor}}
{{P2CE point|point_gel_sensor|sprite=1}} It is used to detect when brush faces or entities are painted in a specified radius.
{{this is a|point entity|name=point_gel_sensor|sprite=1|game=Portal 2: Community Edition}} It is used to detect when brush faces or entities are painted in a specified radius.
 


==Keyvalues==
==Keyvalues==
Line 11: Line 12:


==Outputs==
==Outputs==
{{IO|OnPainted|Gets called when paint is detected. Parameter is set to the paint type index.}}
{{O|OnPainted|Gets called when paint is detected. Parameter is set to the paint type index.}}
{{O Targetname}}
{{O Targetname}}

Latest revision as of 11:12, 21 April 2025

English (en)Translate (Translate)
Point gel sensor.png

point_gel_sensor is a point entity available in Portal 2: Community Edition Portal 2: Community Edition. It is used to detect when brush faces or entities are painted in a specified radius.

Keyvalues

Search Radius (radius) <float>
Sets the radius to search painted surfaces from."
Target Brush Faces (sides) <sidelist>
The faces on which to watch for paint."
Target Entity (target) <targetname>
The entity of which to watch for paint."
Filter Name (filtername) <filter>
Filter to use to narrow set of findable entities. See filter_activator_name for more explanation.
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

Outputs

OnPainted
Gets called when paint is detected. Parameter is set to the paint type index.