&gt;I solved it by letting the objects register themselves at game start<br>&gt;with a init script and choose a unique name for them.<br><br><div>What is not possible anymore since the name attribute is read-only now.<br><div>
Campbell, do we really need the names to be read-only?<br></div><div>I always thought renaming is easier them dealing with IDs.</div><div>Or one of your other ideas ( <a href="http://blenderartists.org/forum/showpost.php?p=1328760&amp;postcount=45">http://blenderartists.org/forum/showpost.php?p=1328760&amp;postcount=45</a> ).</div>
<div><br></div><div>my 2cents</div><div><br></div><div>Dalai</div><div><br></div><div><a href="http://blenderecia.orgfree.com">http://blenderecia.orgfree.com</a></div><div><br><div class="gmail_quote">2009/3/20 Carsten Wartmann <span dir="ltr">&lt;<a href="mailto:cw@blenderbuch.de">cw@blenderbuch.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Natanael Olaiz schrieb:<br>
<div class="im">&gt; Hi,<br>
&gt;<br>
&gt; I have a question about the Game Engine: there is a way to identify<br>
&gt; between different objects of the same type?<br>
&gt;<br>
&gt; I&#39;m trying to use a script controller on YoFrankie!, that needs to<br>
&gt; identify the different instances of characters (rig_ram / rig_sheep /<br>
&gt; rig_rat /...), but all the instances give me the same name with<br>
&gt; getOwner().name.<br>
<br>
</div>I think thats because these are added groups. I found that same problem<br>
during the design of my subracer for the gamekit.<br>
<br>
I solved it by letting the objects register themselves at game start<br>
with a init script and choose a unique name for them.<br>
<br>
Carsten<br>
<font color="#888888"><br>
--<br>
Carsten Wartmann: Autor - Dozent - 3D - Grafik<br>
Homepage:         <a href="http://blenderbuch.de/" target="_blank">http://blenderbuch.de/</a><br>
Das Blender-Buch: <a href="http://blenderbuch.de/redirect.html" target="_blank">http://blenderbuch.de/redirect.html</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Bf-committers mailing list<br>
<a href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-committers" target="_blank">http://lists.blender.org/mailman/listinfo/bf-committers</a><br>
</div></div></blockquote></div><br></div></div>