ent_morph (
ENTITY*, STRING* name);
Transforms the given entity into another one,
even of different type, e.g. a model into a sprite.
Parameters:
ENTITY* - pointer of the entity to be morphed.
name -
file name of the new sprite or model file,
STRING* or char*.
Speed:
SlowExample:
ent_morph(me,"explo+10.tga"); // change the me entity into an animated explosion sprite
See also:
ent_create,
ent_purge, ent_preload,
ent_remove,
ent_morphskin, ent_clone