Scripted target: Difference between revisions
Jump to navigation
Jump to search
m (Reverted edit of OlogeTbocc, changed back to last version by Ts2do) |
m (Robot: fixing template case.) |
||
Line 27: | Line 27: | ||
* {{i parentname}} | * {{i parentname}} | ||
* {{ | * {{I EnableDisable}} | ||
==Outputs== | ==Outputs== |
Revision as of 19:28, 19 January 2009
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
- EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- AtTarget
- Fires when NPC reaches this target. (!activator is the NPC)
- LeaveTarget
- Fires when NPC leaves this target. (!activator is the NPC)