In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
-
pokestat
- Newbie
- Posts: 6
- Joined: Tue Dec 12, 2017 12:54 pm
-
Contact:
#1
Post
by pokestat » Thu Dec 14, 2017 1:59 am
Using Call() from a button to call a label will result in the error:
Code: Select all
NameError: global name 'from_current' is not defined
Test case:
Code: Select all
screen testscreen():
textbutton "test" action Call("test")
label start():
"Game starts."
show screen testscreen()
"The program doesn't stop just because you show a screen."
"Game over."
return
label test():
"This works"
return
This came up on the Questions thread:
viewtopic.php?f=8&t=47009
Users browsing this forum: No registered users