ent_morphskin(ENTITY*,STRING* filename);

Loads a new skin for a model entity from a separate file at runtime. Only the given entity will change it's skin, other entities with the same model remain unchanged.

Parameters:

ENTITY* Pointer to a model entity.
filename Name of the new skin image file (pcx, bmp, dds, or tga)

Speed:

Medium

Remarks:

Example:

ent_morphskin(my,"newskin.pcx");

See also:

ent_morph, bmap_for_entity, ent_setskin, nosend_attach,