Changeset View
Changeset View
Standalone View
Standalone View
manual/game_engine/logic/controllers/python.rst
| Context not available. | |||||
| The entire file can be run by setting the type to *Script* and setting the name to myscript.py. | The entire file can be run by setting the type to *Script* and setting the name to myscript.py. | ||||
| Parts of the Python Controller: | Parts of the Python Controller | ||||
| =============================== | =============================== | ||||
| .. image:: /images/game_engine_python_controller.jpg | .. image:: /images/game_engine_python_controller.jpg | ||||
| #. Type: Specifies whether it is a module or entire file. | #. Type | ||||
| #. The name of the file to be loaded. | Specifies whether it is a module or entire file. | ||||
gandalf3: The indentation is off here, preventing the list from auto incrementing.
The lines after the… | |||||
| #. Continuously reload the file. | #. Name | ||||
| The name of the file to be loaded. | |||||
| #. D | |||||
gandalf3Unsubmitted Done Inline ActionsA bit of a nitpick, but it's rather unclear what "D" is imo (this is more of an issue with blender's UI than anything). Perhaps using it's full name "Use Debug" or maybe "D (Use Debug)" would be clearer? While I'm here, I also noticed that blender's tooltip for this option has more info than the manual entry. Ideally this would be reversed.. Perhaps you could describe why continuously reloading the file is useful and how it can be used? gandalf3: A bit of a nitpick, but it's rather unclear what "D" is imo (this is more of an issue with… | |||||
| Continuously reload the file. | |||||
| The :doc:`remaining parts </game_engine/logic/controllers/editing>` are standard to all controllers. | .. _controller-parts: | ||||
| More information on the python API can be found :doc:`here </game_engine/python_api/index>`. | /game_engine/logic/controllers/editing | ||||
gandalf3Unsubmitted Done Inline ActionsNot sure what this is doing here? gandalf3: Not sure what this is doing here? | |||||
| No newline at end of file | |||||
| The :doc:`remaining parts <standard-controller-parts>_` are standard to all controllers. | |||||
| More information on the python API can be found :doc:`here </game_engine/python_api/index>`. | |||||
| Context not available. | |||||
The indentation is off here, preventing the list from auto incrementing.
The lines after the #. Item should have 4 spaces (1 more than they have now).