• To improve security, we will soon start forcing password resets for any account that uses a weak password on the next login. If you have a weak password or a defunct email, please update it now to prevent future disruption.

Ren'Py use the same label in multiple scripts

xakersta

New Member
Dec 31, 2019
1
0
is it possible to define a label in one renpy script then add to that same label in another script for example

script 1

label story:
(here is some content)


script 2
also label story:
(adding content to story label)
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,188
14,917
is it possible to define a label in one renpy script then add to that same label in another script for example
Is it possible ? Yes.

Will it do what you think ? Absolutely not.

Is the answer to that question in the documentation ? Yes.

:
"There are two kinds of labels: global and local labels. Global labels live in one global scope shared across all project files and thus should have unique names per game. Local labels logically reside inside the scope of the global label they are declared in."
Emphasis is mine.