point_entity_finder is a point entity available in all Source games since . When given the
FindEntityinput, it finds an appropriate entity based on the given criterias, and pass the result as the
- Filter Name
- Filter to use to narrow set of find-able entities. See filter_activator_name for more explanation.
- Reference Entity
- Name of the entity to use for search method distance comparisons. If left blank, the entity will use itself.
- Search Method
- After filtering down the entities to find, if there are multiple valid candidates, this determines which entity gets sent under the
- 0 : Nearest
- 1 : Farthest
- 2 : Random
- The name that other entities use to refer to this entity.
- Maintain the same initial offset to this entity. An attachment point can also be used if separated by a comma at the end. (
parentname [targetname],[attachment])Tip: Entities transition to the next map with their parentsTip:
phys_constraintcan be used as a workaround if parenting fails.
- Origin (X Y Z)
- The position of this entity's center in the world. Rotating entities typically rotate around their origin.Note: Hammer does not move the entities accordingly only in the editor.
- Pitch Yaw Roll (X Y Z)
- 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.Note: This works on brush entities, although Hammer doesn't show the new angles.
- Determines the characteristics of the entity before it spawns. Tip: Changing this on runtime still has use, like making matching an entry in S_PreserveEnts will persist the entity on new rounds!
- Toggles exclusive features of an entity, its specific number is determined by the combination of flags added.
- Combination of effect flags to use.
- Start a search on an entity that meets the specified criteria. Fires the
OnFoundEntityoutput and pass the found entity under the
- Assigns a new keyvalue/output on this entity. For keyvalues, some rely on extra necessary code to be ran and won't work if its simply just changed through this input. There is a strict format that must be followed:
- Removes all contexts from this entity's list.
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- Fires the respective
OnUseroutputs; see User Inputs and Outputs.
- Removes this entity and any entities parented to it from the world.
- Functions the same as
Kill, although this entity and any entities parented to it are killed on the same frame, being marginally faster than
- Remove a context from this entity's list. The name should match the key of an existing context.
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- Dispatches a special effect from the entity's origin; see also List of Client Effects. Replaced by the particle system since .
- When a search from the
FindEntityinput found a valid entity. The found entity is passed under the
- These outputs each fire in response to the firing of the like-numbered
FireUser4Input; see User Inputs and Outputs.
- This output fires when the entity is killed and removed from the game.