Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "setmodel"

From Quake Wiki

Line 1: Line 1:
 
Syntax:<br/>
 
Syntax:<br/>
<code>setmodel(entity e, string path)</code>
+
<code>void setmodel(entity e, string path)</code>
  
 
Makes the entity <code>e</code> use the model that is found in the <code>path</code>.  This model must be precached before it can be used.
 
Makes the entity <code>e</code> use the model that is found in the <code>path</code>.  This model must be precached before it can be used.
  
 
[[Category:QuakeC Function]]
 
[[Category:QuakeC Function]]

Revision as of 23:36, 24 March 2013

Syntax:
void setmodel(entity e, string path)

Makes the entity e use the model that is found in the path. This model must be precached before it can be used.