Npc antlionguard

From Valve Developer Community
Revision as of 23:20, 17 August 2005 by Ts2do (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Antlion - 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