Scripted target

From Valve Developer Community
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Entity Name: scripted_target

A point entity that targets an NPC for use in scripted sequences.

Keyvalues

  • m_iszEntity
<npcclass> NPC target.
  • m_flRadius
<integer> Radius to search within for an NPC to use. A value of "0" searches everywhere in the map.
  • MoveSpeed
<integer>
  • PauseDuration
<integer>
  • EffectDuration
<integer>
  • target
<target_destination> Next Target

Inputs

Outputs

  • AtTarget
Fires when NPC reaches this target.
  • LeaveTarget
Fires when NPC leaves this target