Music room loop button idle [solved]

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
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Music room loop button idle [solved]

#1 Post by namastaii »

So my music room "loop" button sets single track to be true so it loops one song. Right? So when I click on it, it highlights it and keeps it the highlighted color. That's what I want. But even when I push it again to turn it off, it still stays highlighted. You know how the quick menus' 'skip' button is only highlighted when it's active? How do I get that same affect here?

Right now it's like this:

Code: Select all

action mr.SetSingleTrack("toggle")
-----
the solution:

action mr.ToggleSingleTrack()

Post Reply

Who is online

Users browsing this forum: LuckyT