point_antlion_repellant

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CAntlionRepellant
CPointEntity
CBaseEntity
npc_antlion.cpp

point_antlion_repellant is a point entity available in Half-Life 2 series Half-Life 2 series and Portal Portal. 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 (repelradius) <float>
Antlions aren't allowed to be inside this radius.

Inputs

Enable
Enable the repell.
Disable
Disable the repell.

See also