Difference between revisions of "Trigger change class"
Jump to navigation
Jump to search
Outerbeast (talk | contribs) m (Linked relationship table) |
Outerbeast (talk | contribs) m (!activator is broken) |
||
(3 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 == | ||
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 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.