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 revision
Previous revision
set_entity_model [2020/05/03 10:42] justinset_entity_model [2021/04/21 18:50] (current) justin
Line 10: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|entity|[[Entity]] which will have its model replaced.|[[Entity]]|Yes|+|entity|[[Entity]] that will have its model replaced.|[[Entity]]|Yes|
 |model_name|Name of the new model resource.|[[String]]|Yes| |model_name|Name of the new model resource.|[[String]]|Yes|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-set_entity_model(entity["bridge01"], "boards")+set_entity_model(entity["bridge01"], "boards");
 </code> </code>
 //Results:// Replaces the model of the "bridge01" [[tile]] with the "boards" model. //Results:// Replaces the model of the "bridge01" [[tile]] with the "boards" model.
set_entity_model.1588527722.txt.gz · Last modified: 2020/05/03 10:42 by justin