Hard pause help

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
k2cheyne
Newbie
Posts: 3
Joined: Thu Aug 09, 2007 12:28 am
Contact:

Hard pause help

#1 Post by k2cheyne »

[quote="Enerccio"][quote="tyrantus"]
Here you go ^^ -> working in my game so it should be working in your too.

Code: Select all

    $ centered("--Prologue--", interact=False) 
    $ renpy.pause(3.5, hard=True) 
I found this on another thread (should I have just posted there? o.O) and was wondering - how do you implement this? It didn't make any sense! This is the portion of the script I want to put it into:

Code: Select all

   
        scene bg mana at Pan((0, 1088), (0, 0), 10.0)
        with dissolve            

        f "OMFG IT'S MANA!!"
The pan works fine, but if you try clicking on beyond the line f says, it backs out. Where do you implement the code so that it will not let you skip out of the pan until the pan is complete? Thanks very much and I appreciate any help you can give.

k2cheyne
Newbie
Posts: 3
Joined: Thu Aug 09, 2007 12:28 am
Contact:

Re: Hard pause help

#2 Post by k2cheyne »

Never mind, with more searching I figured it out! If anyone visits this thread looking for help, put this in:

Code: Select all

            $ ui.pausebehavior(10)
            $ ui.interact()
I put it right after the pan command, and before the "OMFG" line by f.

Thanks anyway, hehe!

Post Reply

Who is online

Users browsing this forum: MisterPinetree