diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-04-07 08:00:56 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-04-07 08:00:56 +0400 |
commit | 8d100c032e515b93a5aefe5928f85aecec2d7c70 (patch) | |
tree | f532d5c10598d25b54662207f90f9833147e1163 /doc | |
parent | 4fb7f6a7065174a2e1a4a607a81b26f7ed00a4ae (diff) |
Updating BGE dynamic loading docs:
* Adding load_action and verbose keyword args for LibLoad()
* Adding LibList()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge.logic.rst | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst index d3261f5747b..20a3a68b387 100644 --- a/doc/python_api/rst/bge.logic.rst +++ b/doc/python_api/rst/bge.logic.rst @@ -173,7 +173,7 @@ General functions Restarts the current game by reloading the .blend file (the last saved version, not what is currently running). -.. function:: LibLoad(blend, type, data) +.. function:: LibLoad(blend, type, data, load_actions=False, verbose=False) Converts the all of the datablocks of the given type from the given blend. @@ -183,6 +183,10 @@ General functions :type type: string :arg data: Binary data from a blend file (optional) :type data: bytes + :arg load_actions: Search for and load all actions in a given Scene and not just the "active" actions (Scene type only) + :type load_actions: bool + :arg verbose: Whether or not to print debugging information (e.g., "SceneName: Scene") + :type verbose: bool .. function:: LibNew(name, type, data) @@ -201,6 +205,12 @@ General functions :arg name: The name of the library to free (the name used in LibNew) :type name: string + +.. function:: LibList() + + Returns a list of currently loaded libraries. + + :rtype: list [str] .. function:: addScene(name, overlay=1) |