Difference between revisions of "Trigger change class"

From Sven Co-op
Jump to navigation Jump to search
m
m (!activator is broken)
 
Line 10: Line 10:
  
 
{{entity_title}}
 
{{entity_title}}
 +
 +
== Issues ==
 +
Using <code>!activator</code> as the target to change the classification of the activating entity does not work. [[trigger_changevalue]] can be used instead to get around this.
  
 
[[Category:Entities]]
 
[[Category:Entities]]
 
[[Category:Point entities]]
 
[[Category:Point entities]]

Latest revision as of 19:41, 16 June 2023

trigger_change_class
Type

point

Status

supported

 


Allows you to change the classification of an entity, e.g. a monster or a func_breakable. The classification of an entity is used by monsters to determine whether it shall be considered as an enemy, an ally, as neutral or as something to fear. Most classifications will consider themselves as allies.

1 Keyvalues

Classification : classify

The new classification for the targeted entity. See the monster class relation table for reference.

2 Issues

Using !activator as the target to change the classification of the activating entity does not work. trigger_changevalue can be used instead to get around this.