Difference between revisions of "Trigger changetarget"

From Sven Co-op
Jump to navigation Jump to search
(Import of converted entguide pages from Sven Manor.)
 
m (Fix grammatical mistakes)
Line 7: Line 7:
 
== Keyvalues ==
 
== Keyvalues ==
  
{{Entity_keyvalue|Target|target|Entity to change it's target.}}
+
{{Entity_keyvalue|Target|target|Entity whose target will be changed.}}
 
{{Entity_keyvalue|New Target|m_iszNewTarget|New "Target" value for targeted entity.}}
 
{{Entity_keyvalue|New Target|m_iszNewTarget|New "Target" value for targeted entity.}}
  

Revision as of 14:52, 15 May 2023

trigger_changetarget
Type

point

Status

supported

 


The proper method for changing the target-keyvalue of an entity. You should prefer this to using a trigger_changevalue, if you can, because this entity takes several special cases into account.

Keyvalues

Target : target

Entity whose target will be changed.

New Target : m_iszNewTarget

New "Target" value for targeted entity.