Scripted target: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Keyvalues) |
||
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''' | ||
:< | :<float> Radius to search within for an NPC to use. A value of "0" searches everywhere in the map. | ||
*'''MoveSpeed''' | *'''MoveSpeed''' | ||
:< | :<float> | ||
*'''PauseDuration''' | *'''PauseDuration''' | ||
:< | :<float> | ||
*'''EffectDuration''' | *'''EffectDuration''' | ||
:< | :<float> | ||
==Inputs== | ==Inputs== |
Revision as of 06:28, 6 October 2005
Entity Description
A point entity that targets an NPC for use in scripted sequences.
Keyvalues
- Template:Kv targetname
- target
- <target_destination> Next Target
- Template:Kv parentname
- Template:Kv enabledisable
- m_iszEntity
- <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