diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-23 01:52:30 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-23 01:52:30 +0400 |
commit | f90298bc0a74326126ac51d6f2e693e4915dbe07 (patch) | |
tree | e0b58816b450510ec3e64688a1301f5170666aeb /doc/python_api/rst/bge.logic.rst | |
parent | 2765f1fffc23c645ff9e4529074f03e4a46b3414 (diff) |
BGE Docs: Adding docs for the KX_GameObject.playAction() play_mode constants.
Diffstat (limited to 'doc/python_api/rst/bge.logic.rst')
-rw-r--r-- | doc/python_api/rst/bge.logic.rst | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst index 4bfb1add4f6..da521d6b245 100644 --- a/doc/python_api/rst/bge.logic.rst +++ b/doc/python_api/rst/bge.logic.rst @@ -1068,6 +1068,32 @@ See :class:`bge.types.SCA_PythonKeyboard`, :class:`bge.types.SCA_PythonMouse`, : .. data:: KX_INPUT_ACTIVE .. data:: KX_INPUT_JUST_RELEASED +------------ +KX_GameObject +----------- +.. _gameobject-playaction-mode: + +See :class:`bge.types.KX_GameObject.playAction` + +.. data:: KX_ACTION_MODE_PLAY + + Play the action once. + + :value: 0 + +.. data:: KX_ACTION_MODE_LOOP + + Loop the action (repeat it). + + :value: 1 + +.. data:: KX_ACTION_MODE_PING_PONG + + Play the action one direct then back the other way when it has completed. + + :value: 2 + + ------------- Mouse Buttons ------------- |