Point antlion repellant: Difference between revisions
Jump to navigation
Jump to search
Note:To ward off antlions, use an ai_sound set to soundtype "Thumper" or a prop_thumper.
m (→Inputs: Substituted IO templates) |
(-added class hierarchy, cleanup, intn) |
||
Line 1: | Line 1: | ||
{{ | {{CD|CAntlionRepellant|file1=1}} | ||
{{This is a|point entity|name=point_antlion_repellant|game=Half-Life 2 series|game1=Portal}} | |||
Simple entity that prevents [[npc_antlion|antlions]] from jumping into its 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|To ward off antlions, use an [[ai_sound]] set to soundtype "Thumper" or a [[prop_thumper]].}} | {{Note|To ward off antlions, use an [[ai_sound]] set to soundtype "Thumper" or a [[prop_thumper]].}} | ||
==Keyvalues== | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Repell radius|intn=repelradius|float|Antlions aren't allowed to be inside this radius.}} | |||
== Inputs == | |||
==Inputs== | |||
{{I|Enable|Enable the repell.|}} | {{I|Enable|Enable the repell.|}} | ||
{{I|Disable|Disable the repell.|}} | {{I|Disable|Disable the repell.|}} | ||
== | == See also == | ||
{{ | * {{ent|npc_antlion}} |
Latest revision as of 21:38, 19 April 2025
![]() |
---|
CAntlionRepellant |
![]() |
point_antlion_repellant
is a point entity available in Half-Life 2 series and
Portal.
Simple entity that prevents antlions from jumping into its radius, starting at the center of the entity.

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
- Repell radius (repelradius) <float>
- Antlions aren't allowed to be inside this radius.
Inputs
- Enable
- Enable the repell.
- Disable
- Disable the repell.