trigger_changemodel

From Sven Co-op
Revision as of 21:36, 4 April 2023 by Outerbeast (talk | contribs) (Added bodygroup key (missing in FGD as of yet))
Jump to navigation Jump to search
trigger_changemodel
Type

point

Status

supported

 


Trigger_changemodel allows you to change the model and/or skin of anything at runtime. Just setting an entities model-keyvalue won't work. Its intended use is to change skins/models of monsters, players or props. Models are precached automatically.

Keyvalues

Target : target

Entity which's model is to be changed.

New Model Name : model

Path to the new model. Is precached automatically. Path starts in "svencoop"-directory.

Skin : skin

Skin to use on target model.

Body group : bodygroup

Body group to use on target model.