ai_changetarget
class hierarchy |
---|
CAI_ChangeTarget defined in triggers.cpp
|
ai_changetarget
is a point entity available in all Source games. It's main use is for changing the target
keyvalue of NPCs, but it can change the target of any entity if applicable. This task can also be done using AddOutput
.
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Target
(target)
<targetname> - Entity(s) that should have
target
changed.
- NewTarget
(m_iszNewTarget)
<targetname> - New
targetname
for the targeted entity(s) to target.
Inputs
Activate
- Trigger the target change.