Difference between revisions of "Trigger change class"

From Sven Co-op
Jump to navigation Jump to search
(Import of converted entguide pages from Sven Manor.)
 
m (!activator is broken)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
}}
 
}}
  
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.
+
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.
  
 
== Keyvalues ==
 
== Keyvalues ==
  
{{Entity_keyvalue|Classification|classify|The new classification for the targeted entity. See the monster class relation table for reference.}}
+
{{Entity_keyvalue|Classification|classify|The new classification for the targeted entity. See the [[Class Relationship Table|monster class relation table]] for reference.}}
  
 
{{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 18: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.