Difference between revisions of "Npc enemyfinder"

From Valve Developer Community
Jump to: navigation, search
m (ep1 add)
(Entity Description: Added brief description.)
Line 1: Line 1:
 
{{wrongtitle|title=npc_enemyfinder}}
 
{{wrongtitle|title=npc_enemyfinder}}
 
==Entity Description==
 
==Entity Description==
 +
This NPC is invisible, immobile, and does not cause collisions. Its purpose is to notify its squadmates when an enemy comes into the enemyfinder's view.
 +
 
{{npcnote}}
 
{{npcnote}}
  

Revision as of 12:44, 4 November 2007

Template:Wrongtitle

Entity Description

This NPC is invisible, immobile, and does not cause collisions. Its purpose is to notify its squadmates when an enemy comes into the enemyfinder's view.

Template:Npcnote

Keyvalues

  • FieldOfView
<string> How far to look (1.0 = straight ahead, 0.0 = +/- 90 degrees, -1.0 = all directions)
  • MinSearchDist
<integer>
  • MaxSearchDist
<integer>
  • freepass_timetotrigger
<float> Amount of time an enemy is hidden after which a 'free pass' on reaquire is granted
  • freepass_duration
<float> After granted 'free pass', the amount of time a target is allowed before reaquire
  • freepass_movetolerance
<float> After granted 'free pass', the distance the target is allowed to move before reaquire
  • freepass_refillrate
<float> After free pass begins expiring, how much the time the target gets back for every second they hide again
  • freepass_peektime
<float> How long targets in cover are allowed to peek without penalty
  • StartOn
<boolean>

Flags

Inputs

  • TurnOn
Turn on: Look for enemies
  • TurnOff
Turn off: Stop looking for enemies

Outputs

Fires when the enemy finder has no enemies.
Fires when the enemy finder acquires enemies.