diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2010-10-03 05:32:01 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2010-10-03 05:32:01 +0400 |
commit | bcf6726b0b1dd78d8bf6c0b843aa5b2e833dadaf (patch) | |
tree | 4f3ec91aea647161ff58270e69bb8271235e6876 /source | |
parent | 27c444acb6585d31bc026eb46b1fef0fb9c55d5f (diff) |
Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out.
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/PyDoc/bge.types.rst | 5 |
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) |