trigger_changetarget

From Sven Co-op
Revision as of 01:15, 25 May 2026 by Outerbeast (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
trigger_changetarget
Type

point

Status

supported

 


This entity changes the target keyvalue of an entity. You should generally prefer this to using a trigger_changevalue, if you can, because this entity takes several special cases into account. Be aware however that this entity only work correctly with entities that have a unique name, see note for more details.

Keyvalues

Target : target

Entity whose target will be changed.

New Target : m_iszNewTarget

New "Target" value for targeted entity.