|
27.
|
|
|
Other modes can be entered by calling the renpy.mode function.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:69
|
|
28.
|
|
|
Causes Ren'Py to enter the named mode, or stay in that mode if it's already in it.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/modes:5
|
|
29.
|
|
|
Mode Callbacks
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:75
|
|
30.
|
|
|
The :var:`config.mode_callbacks` variable contains a list of mode callbacks that are invoked whenever Ren'Py enters a mode. The mode callbacks are called with two parameters:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:77
|
|
31.
|
|
|
mode
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:82
|
|
32.
|
|
|
A string giving the name of the mode that we are entering.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:82
|
|
33.
|
|
|
old_modes
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:86
|
|
34.
|
|
|
A list of strings, giving the modes that the system has previously entered, ordered from most recent to least recent.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:85
|
|
35.
|
|
|
Note that when entering a mode we're already in, the first item in `old_modes` will be equal to `mode`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:88
|
|
36.
|
|
|
Example Mode Callbacks
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/modes.rst:93
|