ai_changetarget
Jump to navigation
Jump to search
Code classes:
CAI_ChangeTarget
CBaseEntity
(all ents)
ai_changetarget
is a point entity present 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. This task can also be done using AddOutput
.
Keyvalues[edit | edit source]
- Target
(target)
<target_destination>
- Entity(s) that should have
target
changed. - NewTarget
(m_iszNewTarget)
<target_source>
- New
targetname
for the targeted entity(s) to target.
Inputs[edit | edit source]
- Activate
- Trigger the target change.