setmodel

From Quake Wiki

Revision as of 00:57, 25 March 2013 by Necros (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:[edit]

void setmodel(entity e, string path)

Sets the model an entity will use.

Parameters:[edit]

e - The entity who's model is being set
path - The path to the model file to set. Can be a model (.mdl), sprite (.spr) or map (.bsp)

Returns:[edit]

void