Npc antlionguard: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Inputs: Fixed inputs)
Line 40: Line 40:
* '''ClearChargeTarget'''
* '''ClearChargeTarget'''
: Clear the charge target
: Clear the charge target
* '''SetCoverFromAttack <integer>'''
: Sets whether or not the creature will protect itself from attacks
* '''Ragdoll'''
* '''Ragdoll'''
: Causes the antlion guard to die, regardless of health
: Causes the antlion guard to die, regardless of health
Line 48: Line 46:
* '''DisableBark'''
* '''DisableBark'''
: Stop the antlion guard from trying to summon antlions
: Stop the antlion guard from trying to summon antlions
* '''InvestigateHint <target_destination>'''
: Sniff around at a hint group until told otherwise
* '''StopInvestigating'''
* '''StopInvestigating'''
: Stop trying to sniff out the player
: Stop trying to sniff out the player
==Outputs==
==Outputs==
* {{o basenpc}}
* {{o basenpc}}

Revision as of 17:26, 6 April 2006

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