Scripted target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(performed cleanup.)
Line 13: Line 13:
*{{kv enabledisable}}
*{{kv enabledisable}}


*'''Target NPC (m_iszEntity)'''
*'''m_iszEntity'''
:<npcclass> NPC target.
:<npcclass> NPC target.


*'''Search Radius (m_flRadius)'''
*'''m_flRadius'''
:<integer> Radius to search within for an NPC to use. A value of "0" searches everywhere in the map.
:<integer> Radius to search within for an NPC to use. A value of "0" searches everywhere in the map.


*'''Move Speed (MoveSpeed)'''
*'''MoveSpeed'''
:<integer>  
:<integer>  


*'''Pause Duration (PauseDuration)'''
*'''PauseDuration'''
:<integer>  
:<integer>  


*'''Effect Duration (EffectDuration)'''
*'''EffectDuration'''
:<integer>  
:<integer>  


*'''Next Target (target)'''
*'''target'''
:<target_destination>  
:<target_destination> Next Target


==Inputs==
==Inputs==

Revision as of 23:23, 11 July 2005

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