Scripted target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(alcnacnaerd)
m (Reverted edit of OlogeTbocc, changed back to last version by Ts2do)
Line 1: Line 1:
sitpas
{{wrongtitle|title=scripted_target}}
{{wrongtitle|title=scripted_target}}



Revision as of 11:17, 5 January 2009

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. (!activator is the NPC)
  • LeaveTarget
Fires when NPC leaves this target. (!activator is the NPC)