Scripted target

From Valve Developer Community
Revision as of 16:28, 10 July 2005 by Campaignjunkie (talk | contribs) (performed cleanup.)
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

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

Inputs

Outputs

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