Action to end more than one consecutive replay

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
Adrian_DVL
Regular
Posts: 95
Joined: Fri Mar 15, 2019 8:46 am
Projects: Clockwork Poison
Contact:

Action to end more than one consecutive replay

#1 Post by Adrian_DVL » Thu Jul 30, 2020 9:32 am

Hi mates!

So I have a few buttons that play three consecutive replays, like this:

Code: Select all

Replay("{0}pre4".format(girl.id)), Replay("gal{0}4".format(girl.id), locked=False), Replay("{0}4".format(girl.id))
And I have in my game menu the default button that comes with RenPy to end a replay:

Code: Select all

EndReplay(confirm=True)
However, when I'm playing a replay and I click that button, it, understandably, leads me to the next replay. It is when I click the button while replaying the third label when the game returns to the previous point.

How can I do so the EndReplay action ends the current replay and doesn't let the next replay show but returns to the game instead? It'd be great if I only had to change the EndReplay button instead of the other one. Thank you!

Adrian_DVL
Regular
Posts: 95
Joined: Fri Mar 15, 2019 8:46 am
Projects: Clockwork Poison
Contact:

Re: Action to end more than one consecutive replay

#2 Post by Adrian_DVL » Sat Aug 08, 2020 4:28 am

Can anyone help me here?

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Imperf3kt