Npc antlionguard: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
Line 1: Line 1:
{{wrongtitle|title=npc_antlionguard}}
{{wrongtitle|title=npc_antlionguard}}
==Entity Description==
==Entity Description==
[[Image:Antlion guard.jpg|thumb|350px|right|Antlion - click to enlarge.]]
[[Image:Antlion guard.jpg|thumb|350px|right|Antlion Guard - click to enlarge.]]
{{npcnote}}
{{npcnote}}
==Dedicated Console Variables==
==Dedicated Console Variables==
* '''sk_antlionguard_health'''
* '''sk_antlionguard_health'''

Revision as of 17:14, 26 October 2005

Template:Wrongtitle

Entity Description

Antlion Guard - click to enlarge.
Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Dedicated Console Variables

  • sk_antlionguard_health
<integer> An antlion guard's spawn health
  • sk_antlionguard_dmg_charge
<integer>
  • sk_antlionguard_dmg_shove
<integer>
  • sk_antlionguard_dmg_take_scale
<integer>

Keyvalues

  • startburrowed
<boolean>
  • allowbark
<boolean>

Flags

  • 65536 : Create server-side ragdoll on death
  • 131072 : Use inside footsteps

Inputs

  • Unburrow
Unburrow from the ground
  • SetShoveTarget <target_destination>
Sets a shove target to attack
  • SetChargeTarget <target_destination>
Sets a charge target to attack
  • ClearChargeTarget
Clear the charge target
  • SetCoverFromAttack <integer>
Sets whether or not the creature will protect itself from attacks
  • Ragdoll
Causes the antlion guard to die, regardless of health
  • EnableBark
Allow the antlion guard to try and summon antlions
  • DisableBark
Stop the antlion guard from trying to summon antlions
  • InvestigateHint <target_destination>
Sniff around at a hint group until told otherwise
  • StopInvestigating
Stop trying to sniff out the player

Outputs

  • OnSeeHiddenPlayer
Fires when the current enemy is seen while trying to hide
  • OnSmellHiddenPlayer
Fires when the current enemy is smelled while trying to hide
  • OnSummon
Antlion guard is attempting to summon antlions