Point bugbait: Difference between revisions
Jump to navigation
Jump to search
(Added link to point_bugbait) |
(Added to entity description.) |
||
Line 3: | Line 3: | ||
==Entity description== | ==Entity description== | ||
This entity detects usage of [[weapon_bugbait|Bugbait]] within a given radius. | 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. | ||
{{in code|class=class_c_bug_bait_sensor.html CBugBaitSensor|file=grenade__bugbait_8cpp-source.html hl2_dll\grenade_bugbait.cpp}} | {{in code|class=class_c_bug_bait_sensor.html CBugBaitSensor|file=grenade__bugbait_8cpp-source.html hl2_dll\grenade_bugbait.cpp}} |
Revision as of 10:39, 2 September 2018
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
- 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
- weapon_bugbait - The bugbait weapon.