Point bugbait

From Valve Developer Community
Revision as of 10:36, 2 September 2018 by Maki (talk | contribs) (Added link to point_bugbait)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Template:Hl2 point

Entity description

This entity detects usage of Bugbait within a given radius. Its OnBaited output can be set to fire when the player lobs a bugbait in a specific location, or if it is squeezed.

Template:In code

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


Enabled ([todo internal name (i)]) <boolean>
Start Enabled


Radius ([todo internal name (i)]) <float>
Sensor Radius.

Flags

  • 1 : Do not call antlions to position
  • 2 : Don't activate on thrown bugbait splashes
  • 4 : Don't activate on squeezed bugbait

Inputs

EnableDisable:

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


Toggle
Toggle this entity.

Outputs

OnBaited
Fires when bugbait lands within a radius of the sensor (!activator is the bugbait thrower).

See also