|
1.
|
|
|
Character Callbacks
|
|
|
|
콜백 기능
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
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.
|
|
|
|
렌파이는 콜백문을 지원하며 대사를 띄우는 도중에 실행가능합니다. 콜백문은 :func:`Character` , :var:`config.character_callback` , :var:`config.all_character_callbacks` 을 써서 사용할수있습니다.
|
|
Translated by
JunhoLee
|
|
Reviewed by
JunhoLee
|
|
|
|
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:
|
|
|
|
이 콜백문들은 콜백 위치 선언문을 통해 호출점에서 작동합니다. 예를들면 :
|
|
Translated by
JunhoLee
|
|
Reviewed by
JunhoLee
|
|
|
|
Located in
../../source/character_callbacks.rst:14
|
|
4.
|
|
|
"begin"
|
|
|
|
"begin"
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
Located in
../../source/character_callbacks.rst:18
|
|
5.
|
|
|
Called at the start of a say statement.
|
|
|
|
대사가 시작될때 실행됩니다
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
Located in
../../source/character_callbacks.rst:18
|
|
6.
|
|
|
"show"
|
|
|
|
"show"
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
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.
|
|
|
|
대사 블록이 시작되기 전에 실행됩니다 , 대사가 {w}나 {p}로 나눠져 있어도 한블럭으로 인식합니다
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
Located in
../../source/character_callbacks.rst:21
|
|
8.
|
|
|
"show_done"
|
|
|
|
"show_done"
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
Located in
../../source/character_callbacks.rst:26
|
|
9.
|
|
|
Called after showing each segment of dialogue.
|
|
|
|
각 대사블럭이 끝날때 실행됩니다
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
Located in
../../source/character_callbacks.rst:26
|
|
10.
|
|
|
"slow_done"
|
|
|
|
"slow_done"
|
|
Translated and reviewed by
JunhoLee
|
|
|
|
Located in
../../source/character_callbacks.rst:31
|