User Tools

Site Tools


set_entity_model

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
set_entity_model [2017/05/12 17:07] justinset_entity_model [2017/05/25 11:15] justin
Line 2: Line 2:
 ---- ----
  
-Replaces the specified entity's model with another of the same resource type. The entity's properties will be kept (i.e. only the visual appearance will change).+Replaces the specified entity's model with another of the same resource type. The entity'script and properties will be kept (i.e. only the visual appearance will change).
  
 <code python> <code python>
Line 16: Line 16:
 set_entity_model(entity["bridge01"], "boards") set_entity_model(entity["bridge01"], "boards")
 </code> </code>
-//Results:// +//Results:// Replaces the model of the "bridge01" tile with the "boards" model.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Set Entity Model** function to ...+Use the **Set Entity Model** function as a way to drastically transform the appearance of a character, tile or object, for example a creature that has mutated or evolved.
 </WRAP> </WRAP>
  
set_entity_model.txt · Last modified: 2021/04/21 18:50 by justin