Scripted target: Difference between revisions
Jump to navigation
Jump to search
m (Technical limitations and cleanup) |
(performed cleanup.) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=scripted_target}} | {{wrongtitle|title=scripted_target}} | ||
scripted_target | ==Entity Description== | ||
'''Entity Name:''' scripted_target | |||
A point entity that targets an NPC for use in scripted sequences. | |||
==Keyvalues== | |||
*{{kv targetname}} | |||
*{{kv parentname}} | |||
*{{kv enabledisable}} | |||
*'''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== | |||
* {{i targetname}} | |||
* {{i parentname}} | |||
* {{i enabledisable}} | |||
==Outputs== | |||
* {{o targetname}} | |||
* '''AtTarget''' | |||
:Fires when NPC reaches this target. | |||
* '''LeaveTarget''' | |||
:Fires when NPC leaves this target | |||
[[Category:Entities]] | |||
Revision as of 16:28, 10 July 2005
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