Point antlion repellant: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleanup)
m (Fixed Entity description)
Line 3: Line 3:


==Entity description==
==Entity description==
Simple entity that repels [[npc_antlion|antlions]] from a given radius, starting at the center of the entity.  
Simple entity that prevents [[npc_antlion|antlions]] from jumping into its radius, starting at the center of the entity.  


{{Note|An [[ai_sound]] set to soundtype "Thumper" has a similar effect on antlions.}}
{{Note|To ward off antlions, use an [[ai_sound]] set to soundtype "Thumper" or a [[prop_thumper]].}}


==Keyvalues==
==Keyvalues==

Revision as of 09:12, 7 July 2016

Template:Hl2 point

Entity description

Simple entity that prevents antlions from jumping into its radius, starting at the center of the entity.

Note.pngNote:To ward off antlions, use an ai_sound set to soundtype "Thumper" or a prop_thumper.

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


Repell radius ([todo internal name (i)]) <float>
Antlions aren't allowed to be inside this radius.

Inputs

Enable
Enable the repell.


Disable
Disable the repell.

Outputs