Scripted target: Difference between revisions
Jump to navigation
Jump to search
m (→Keyvalues) |
m (→Outputs: !activator) |
||
Line 34: | Line 34: | ||
* '''AtTarget''' | * '''AtTarget''' | ||
:Fires when NPC reaches this target. | :Fires when NPC reaches this target. Use !activator to target the NPC. | ||
* '''LeaveTarget''' | * '''LeaveTarget''' | ||
:Fires when NPC leaves this target | :Fires when NPC leaves this target. Use !activator to target the NPC. | ||
[[Category:Entities]] | [[Category:Entities]] |
Revision as of 19:17, 16 April 2006
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. Use !activator to target the NPC.
- LeaveTarget
- Fires when NPC leaves this target. Use !activator to target the NPC.