[solved] python equivalent of Start()

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Kia
Eileen-Class Veteran
Posts: 1011
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

[solved] python equivalent of Start()

#1 Post by Kia » Sun Apr 04, 2021 1:47 pm

I'm wondering, is there a python equivalent for Start()
Last edited by Kia on Sun Apr 04, 2021 2:54 pm, edited 1 time in total.

User avatar
Ocelot
Eileen-Class Veteran
Posts: 1883
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: python equivalent of Start()

#2 Post by Ocelot » Sun Apr 04, 2021 2:13 pm

Start is already a Python class, but if you meant equivalent of execution of its action, it would be renpy.jump_out_of_context("start")

You can see that in RenPy source for Start action: https://github.com/renpy/renpy/blob/639 ... u.rpy#L132
< < insert Rick Cook quote here > >

User avatar
Alex
Lemma-Class Veteran
Posts: 2981
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: python equivalent of Start()

#3 Post by Alex » Sun Apr 04, 2021 2:22 pm

Kia wrote:
Sun Apr 04, 2021 1:47 pm
I'm wondering, is there a python equivalent for Start()
All screen actions can be used like

Code: Select all

$ Start()()
(note the extra pair of parentheses)

User avatar
Kia
Eileen-Class Veteran
Posts: 1011
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: [solved] python equivalent of Start()

#4 Post by Kia » Sun Apr 04, 2021 2:56 pm

ah, thank you both

Post Reply

Who is online

Users browsing this forum: Bing [Bot], span4ev