Urgent: Help with Python to create sensor, controller and actuator

Hi,

I need a urgent help in a work that I´m doing.

I need to add sensors, controllers and actuators by a Python Script. I already create the body by this python, properties and now a need to add sensors and other stuff. This is a automatic game engine cenario creator. Thanks for all the help that you can send.

Thiago

Here you go:
http://www.tutorialsforblender3d.com/

I already went to this site, but which method I need to use to create a sensor, controller or actuator…? For example: obj.addActuator (I know that this isn’t exist, but I need something like this)…

Thanks for the answer and I hope that you can continue to help me…

Thiago

there is a user by the name of Social - I suggest that you look to him for aid in this matter - for he (might) have the answers in which you seek :RocknRoll:

http://blenderartists.org/forum/member.php?u=15320

or you could just check out
http://www.tutorialsforblender3d.com/

That is a great idea! Send Social a PM, I am sure he will just love to help you out with this.He knows a lot of good stuff.

I’m sorry to say that there isn’t an Python API at the moment to create Logic bricks.
There is a patch to bring this functionality but it isn’t in a proper state: it doesn’t support any of the new logic bricks.
If you really need to have this functionality and know how to compile your own version of Blender, you can try to apply the patch yourself: https://projects.blender.org/tracker/?func=detail&aid=8135&group_id=9&atid=127

Thanks for everyone help… I will try this patch and if I have a good answer I will post it here… Thanks again…!