Point bugbait: Difference between revisions
Jump to navigation
Jump to search
In code, it is represented by the
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{this is a| | {{this is a|point entity|name=point_bugbait|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch}} | ||
{{code class|CBugBaitSensor|hl2_dll\grenade_bugbait.cpp}} | {{code class|CBugBaitSensor|hl2_dll\grenade_bugbait.cpp}} | ||
Revision as of 17:03, 17 May 2024
point_bugbait
is a point entity available in Half-Life 2,
Half-Life 2: Episode One,
Half-Life 2: Episode Two, and
Half-Life 2: Deathmatch.

CBugBaitSensor
class, defined in thehl2_dll\grenade_bugbait.cpp
file.
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
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.
Categories:
- Stubs
- Point entities
- Non-internal Half-Life 2 entities
- Half-Life 2 entities
- Half-Life 2 point entities
- Non-internal Half-Life 2: Episode One entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Non-internal Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Non-internal Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities