[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32270] trunk/blender/source/gameengine/ PyDoc/bge.types.rst: Making the docs for bge.types.KX_SCA_AddObjectActuator .instantAddObject() more clear.

Mitchell Stokes mogurijin at gmail.com
Sun Oct 3 03:32:08 CEST 2010


Revision: 32270
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32270
Author:   moguri
Date:     2010-10-03 03:32:01 +0200 (Sun, 03 Oct 2010)

Log Message:
-----------
Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out.

Modified Paths:
--------------
    trunk/blender/source/gameengine/PyDoc/bge.types.rst

Modified: trunk/blender/source/gameengine/PyDoc/bge.types.rst
===================================================================
--- trunk/blender/source/gameengine/PyDoc/bge.types.rst	2010-10-02 22:31:48 UTC (rev 32269)
+++ trunk/blender/source/gameengine/PyDoc/bge.types.rst	2010-10-03 01:32:01 UTC (rev 32270)
@@ -2797,8 +2797,9 @@
 
    .. 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)
 





More information about the Bf-blender-cvs mailing list