trigger_change_class

From Sven Co-op
Revision as of 19:41, 16 June 2023 by Outerbeast (talk | contribs) (!activator is broken)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.