Scripted target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:


==Keyvalues==
==Keyvalues==
*{{kv targetname}}
*{{kv targetname}}
 
*'''target'''
:<target_destination> Next Target
*{{kv parentname}}
*{{kv parentname}}
*{{kv enabledisable}}
*{{kv enabledisable}}
*'''m_iszEntity'''
*'''m_iszEntity'''
:<npcclass> NPC target.
:<npcclass> NPC target.
*'''m_flRadius'''
*'''m_flRadius'''
:<integer> Radius to search within for an NPC to use. A value of "0" searches everywhere in the map.
:<float> Radius to search within for an NPC to use. A value of "0" searches everywhere in the map.
 
*'''MoveSpeed'''
*'''MoveSpeed'''
:<integer>  
:<float>
 
*'''PauseDuration'''
*'''PauseDuration'''
:<integer>  
:<float>
 
*'''EffectDuration'''
*'''EffectDuration'''
:<integer>  
:<float>
 
*'''target'''
:<target_destination> Next Target


==Inputs==
==Inputs==

Revision as of 06:28, 6 October 2005

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