Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2010-10-03 05:32:01 +0400
committerMitchell Stokes <mogurijin@gmail.com>2010-10-03 05:32:01 +0400
commitbcf6726b0b1dd78d8bf6c0b843aa5b2e833dadaf (patch)
tree4f3ec91aea647161ff58270e69bb8271235e6876 /source/gameengine/PyDoc
parent27c444acb6585d31bc026eb46b1fef0fb9c55d5f (diff)
Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out.
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/bge.types.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gameengine/PyDoc/bge.types.rst b/source/gameengine/PyDoc/bge.types.rst
index 96ba8d278f1..24b87e97286 100644
--- a/source/gameengine/PyDoc/bge.types.rst
+++ b/source/gameengine/PyDoc/bge.types.rst
@@ -2797,8 +2797,9 @@ Game Engine bge.types Module
.. method:: instantAddObject()
- :return: The last object created by this actuator. The object can then be accessed from :data:`objectLastCreated`.
- :rtype: None
+ adds the object without needing to calling SCA_PythonController.activate()
+
+ .. note:: Use objectLastCreated to get the newly created object.
.. class:: KX_SCA_DynamicActuator(SCA_IActuator)