get an object other then owner

sorry for the simple question but I couldn’t find it (i did search). I want to get an object other than the owner, I know the name. This is for a game, not a script.

well, for one thing you can get the owner of any logic brick [in the same manner as for the active controller]
and logic bricks can be connected between objects

and for another thing, the python api even for gameblender is documented
http://www.blender.org/modules/documentation/pydoc_gameengine/PyDoc-Gameengine-2.34/index.html

I can’t find anything to get an object that is not the owner…

you can also get them with a ray or near sensor

and you apparenlty didn’t notice getCurrentScene…

for obj in GameLogic.getCurrentScene().getObjectList():
	print obj.name