Skip to main content

npc_enemyfinder

npc_enemyfinder icon

Point Entity

EnemyFinder

Keyvalues

  • Spawnflags (spawnflags) <Flags>

    • Check Visibility
    • APC Visibility checks
    • Short memory
    • Can be an enemy
  • FieldOfView (FieldOfView) <String>
    How far to look (1.0 = straight ahead, 0.0 = +/- 90 degrees, -1.0 = all directions)

  • Min Search Dist (MinSearchDist) <Integer>

  • Max Search Dist (MaxSearchDist) <Integer>

  • Player pass issue time (freepass_timetotrigger) <Float>
    Amount of time an enemy is hidden after which a 'free pass' on reaquire is granted

  • Player pass duration (freepass_duration) <Float>
    After granted 'free pass', the amount of time a target is allowed before reaquire

  • Player pass move tolerance (freepass_movetolerance) <Float>
    After granted 'free pass', the distance the target is allowed to move before reaquire

  • Player pass refill rate (freepass_refillrate) <Float>
    After free pass begins expiring, how much the time the target gets back for every second they hide again

  • Player pass peek time (freepass_peektime) <Float>
    How long targets in cover are allowed to peek without penalty

  • Start On (StartOn) <Boolean>

Inputs

  • TurnOn <Void>
    Turn on: Look for enemies

  • TurnOff <Void>
    Turn off: Stop looking for enemies

Outputs

  • OnLostEnemies <Void>
    Fires when the enemy finder has no enemies.

  • OnAcquireEnemies <Void>
    Fires when the enemy finder acquires enemies.