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.
Note:To ward off antlions, use an ai_sound set to soundtype "Thumper" or a prop_thumper.
		
	
| mNo edit summary |  (-added class hierarchy, cleanup, intn) | ||
| (6 intermediate revisions by 6 users not shown) | |||
| 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  | |||
| {{Note|To ward off antlions, use an [[ai_sound]] set to soundtype "Thumper" or a [[prop_thumper]].}} | |||
| == Keyvalues == | |||
| {{KV Targetname}} | |||
| {{KV|Repell radius|intn=repelradius|float|Antlions aren't allowed to be inside this radius.}} | |||
| == Inputs == | |||
| {{I|Enable|Enable the repell.|}} | |||
| {{I|Disable|Disable the repell.|}} | |||
| == | == See also == | ||
| * {{ent|npc_antlion}} | |||
| * {{ | |||
Latest revision as of 21:38, 19 April 2025
|  Class hierarchy | 
|---|
| CAntlionRepellant | 
|  npc_antlion.cpp | 
point_antlion_repellant  is a   point entity  available in  Half-Life 2 series and
 Half-Life 2 series and  Portal.
Simple entity that prevents antlions from jumping into its radius, starting at the center of the entity.
 Portal.
Simple entity that prevents 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
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 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.