Setmodel

From Quake Wiki

Revision as of 20:35, 23 February 2008 by 129.13.186.4 (talk) (New page: void '''setmodel''' (entity ''e'', string ''model'') ''e'' = entity whose model is to be set ''model'' = name of the model (example: "progs/soldier.mdl") Changes the model associated t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
void setmodel (entity e, string model)

e = entity whose model is to be set

model = name of the model (example: "progs/soldier.mdl")

Changes the model associated to an entity e. This model should also be declared by precache_model. Please set e.movetype and e.solid first.