Point bugbait: Difference between revisions
Jump to navigation
Jump to search
(bot-assisted) |
m (Substituted IO templates) |
||
(22 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{stub}}{{CD|CBugBaitSensor|file1=grenade_bugbait.cpp}} | ||
{{this is a|point entity|name=point_bugbait|game=Half-Life 2 series}} | |||
==Entity | ==Entity description== | ||
Bugbait | This entity detects the usage of [[weapon_bugbait|Bugbait]] within a given radius. The OnBaited output can be set to fire if the Bugbait lands in a specific location, or if it is squeezed within its radius. | ||
== | ==Keyvalues== | ||
{{ | {{KV Targetname}} | ||
{{KV|Enabled|intn=enabled|bool|Start Enabled}} | |||
{{KV|Radius|intn=radius|float|Sensor Radius.}} | |||
| | |||
| | |||
==Flags== | ==Flags== | ||
{{fl|1|Do not call antlions to position}} | |||
{{fl|2|Don't activate on thrown bugbait splashes}} | |||
{{fl|4|Don't activate on squeezed bugbait}} | |||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | |||
{{I EnableDisable}} | |||
{{I|Toggle|Toggle this entity.}} | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | |||
{{O|OnBaited|Fires when bugbait lands within a radius of the sensor {{activator|bugbait thrower}}.}} | |||
==See also== | |||
* {{ent|weapon_bugbait}} - The bugbait weapon. |
Latest revision as of 21:46, 19 April 2025
![]() |
---|
CBugBaitSensor |
![]() |
point_bugbait
is a point entity available in Half-Life 2 series.
Entity description
This entity detects the usage of Bugbait within a given radius. The OnBaited output can be set to fire if the Bugbait lands in a specific location, or if it is squeezed within its radius.
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
- Enabled (enabled) <boolean>
- Start Enabled
- Radius (radius) <float>
- Sensor Radius.
Flags
- Do not call antlions to position : [1]
- Don't activate on thrown bugbait splashes : [2]
- Don't activate on squeezed bugbait : [4]
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
- weapon_bugbait - The bugbait weapon.