This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
set_entity_model [2017/05/25 11:16] justin |
set_entity_model [2018/03/16 09:48] (current) justin |
||
---|---|---|---|
Line 4: | Line 4: | ||
Replaces the specified entity's model with another of the same resource type. The entity's script and properties will be kept (i.e. only the visual appearance will change). The model name is case-sensitive. | Replaces the specified entity's model with another of the same resource type. The entity's script and properties will be kept (i.e. only the visual appearance will change). The model name is case-sensitive. | ||
+ | ====Signature:==== | ||
<code python> | <code python> | ||
set_entity_model(entity, model_name) | set_entity_model(entity, model_name) |