|
1.
|
|
|
Character Callbacks
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:7
|
|
2.
|
|
|
Ren'Py includes the ability to execute callbacks when various events occur during dialogue. This is done by giving the `callback` argument to :func:`Character`, or setting the :var:`config.character_callback` or :var:`config.all_character_callbacks` variables.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:9
|
|
3.
|
|
|
The character callback is called with a single positional argument, the event that occured. Possible events are:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:14
|
|
4.
|
|
|
"begin"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:18
|
|
5.
|
|
|
Called at the start of a say statement.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:18
|
|
6.
|
|
|
"show"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:23
|
|
7.
|
|
|
Called before showing each segment of dialogue. Dialogue may be separated into multiple segments by the {w} or {p} text tags, but always consists of at least one segment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:21
|
|
8.
|
|
|
"show_done"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:26
|
|
9.
|
|
|
Called after showing each segment of dialogue.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:26
|
|
10.
|
|
|
"slow_done"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/character_callbacks.rst:31
|