Python command reference

Hey guys, i was thinking in a making of a python command reference, you know, with a command, what is for and an example of how to use it, then when it is complete create a PDF and it can be useful for newbies in the blender’s python game engine (like me for example :smiley: ). So if you want to do this project please post what you know & I will be adding each command to a PDF includding a credits page where people names that helps will be shown. if you wan to help please do not post an already posted command. TNX

Hi, I`ve often thought about putting a python ref/tips list together myself, but just never have the time. Really interested to see how far you get with this Pikol. :slight_smile:

This isn`t anything special as such, and I only found out about it the other day from a very kind person who posted it in here somewhere, sorry, forgot ya name, but I love ya. :wink:

x += 1

is the same as,

x = x + 1

Seems silly, but when you replace x with owner.realllylongpropname its bloomin wonderfull.

python tutorial:
http://www.python.org/doc/2.3.5/tut/tut.html

python game api refrence:
http://www.blender.org/modules/documentation/pydoc_gameengine/PyDoc-Gameengine-2.34/index.html

:wink: Heh, what z3r0_d posted is all you need. Don’t go through the trouble of making a separte .pdf for commands. If you know enough python all the commands you need are in python game api refrence.

Jason Lin