The Player name i could change with SetName(oObject,string);
but the oObject of the Player I got with GetHero();
How do I get the oObject of my creature.
the creature is called "grarn01.utc" and the starting name is "Old Man".
In the second line of conversation he introduces himself and it would be strange to still refer to him as "Old Man", it also would be strange to start out knowing his name meaning set the creature name to "Grarn" from the beginning because at that point we don't know his name ingame...
Edit:
object oGrarn = GetObjectByTag("grarn01");
SetName(oGrarn,"Grarn");
solved it...
Sorry for clustering the forum, but i found nothing to begin with and then stumbled upon the solution by sheer luck...
Modifié par Apolyon6k, 16 décembre 2009 - 07:24 .





Retour en haut






