Scripted target

From Valve Developer Community
Revision as of 06:28, 6 October 2005 by Ts2do (talk | contribs) (→‎Keyvalues)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

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

Keyvalues

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

Inputs

Outputs

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