Point bugbait: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Cleanup)
Line 3: Line 3:
{{hl2 point|point_bugbait}}
{{hl2 point|point_bugbait}}


==Entity Description==
==Entity description==
Bugbait sensor point
Controlls impacting [[weapon_bugbait|Bugbaits]] in a certain radius.
{{Todo|Better description with more informations.}}


==Availability==
{{in game|point}} {{game|HL2}}
{{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}}


==Keyvalues==
==Keyvalues==
*{{KV Targetname}}
{{KV Targetname}}
*'''Enabled'''
 
:{{boolean}} Start Enabled
{{KV|Enabled|bool|Start Enabled}}
*'''radius'''
 
:<float> Sensor Radius
{{KV|Radius|float|Sensor Radius.}}


==Flags==
==Flags==
Line 23: Line 22:


==Inputs==
==Inputs==
*{{I Targetname}}
{{I Targetname}}
*{{I EnableDisable}}
 
*'''Toggle'''
{{I EnableDisable}}
:Toggle this entity
 
{{IO|Toggle|Toggle this entity.}}


==Outputs==
==Outputs==
*{{O Targetname}}
{{O Targetname}}
* '''OnBaited'''
 
: Fires when bugbait lands within a radius of the sensor. {{activator|bugbait thrower}}
{{IO|OnBaited|Fires when bugbait lands within a radius of the sensor {{activator|bugbait thrower}}.}}
 
==See also==
* [[weapon_bugbait]] - The bugbait weapon.

Revision as of 07:13, 5 February 2012

Stub

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

Template:Hl2 point

Entity description

Controlls impacting Bugbaits in a certain radius.

Todo: Better description with more informations.

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