Hi everybody,

when I set an entity in WED it gets a name by WED.

How can I set this entity name when I create the entity in script by ent_create ???

I tried it as follows:

player1 = ent_create (str_create("giana.mdl"), vector(489 , -71 , -150), NULL);
wait(1);
player1.link.name = "giana.mdl_02";

That causes no compiler problem at all, but doesn't set the name either :-(

Regards,
Pegamode.

Last edited by pegamode; 08/30/08 07:48. Reason: additional info