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

Difference between revisions of "setmodel"

From Quake Wiki

(One intermediate revision by the same user not shown)
(No difference)

Revision as of 23:57, 24 March 2013

Syntax:

void setmodel(entity e, string path)

Sets the model an entity will use.

Parameters:

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:

void