Is there somthing wrong with the List search functions in Python in BGE??
this is like its sick.
import GameLogic as GL cont = GL.getCurrentController() own = cont.owner scene = GL.getCurrentScene() P = GL.P1 Mlist = own.children print Mlist print Mlist print "OBTitle.003" in Mlist #Mlist.index("OBTitle.003")
print "OBTitle.003" in Mlist >>> True
Mlist.index("OBTitle.003") >>> Error list.index(x): x not in list
can sombody tell me whats going on here??
did i forgot somthing?