[VXACE] Yanfly's Gab Window - How to make it consecutive?

Discussion in 'RGSSx Script Support' started by CarlosDavilla, Aug 15, 2018.

Thread Status:
Not open for further replies.
  1. CarlosDavilla

    CarlosDavilla The Insolent One Veteran

    Messages:
    55
    Likes Received:
    5
    First Language:
    Portuguese
    Primarily Uses:
    RMVXA
    I just hope I'm posting this in the right place.

    Here's my question. Can I make consecutive gab windows with Yanfly's Gab Window script? If I can, I'm kinda having some trouble in achieving it.

    The thing I want to make is to make a gab window saying stuff that, after some seconds, be substitute with another gab window, saying another stuff.

    Ex:

    (gab)Mission Completed: Buy cigarettes.

    After some 2 or 3 seconds, this gab window will vanish and another one will appear, saying:

    (gab)Mission Added: Buy Milk.

    Can it be done? Putting one gab script after the other is not working at all (Maybe I'm just being dumb).
     
    #1
  2. JGreene

    JGreene Veteran Veteran

    Messages:
    375
    Likes Received:
    287
    First Language:
    English
    Primarily Uses:
    RMMV
    Code:
    gab("Mission Completed: Buy cigarettes.")
    $game_map.interpreter.wait(60)
    gab("Mission Added: Buy Milk.")
    or to make the first window vanish...
    Code:
    gab("Mission Completed: Buy cigarettes.")
    $game_map.interpreter.wait(60)
    clear_gab
    $game_map.interpreter.wait(60)
    gab("Mission Added: Buy Milk.")
    
    This should work, I just tested it with a 60 frame wait.

    Edit: Changed it. You can use that all in one script call.
     
    Last edited: Aug 15, 2018
    #2
    CarlosDavilla likes this.
  3. CarlosDavilla

    CarlosDavilla The Insolent One Veteran

    Messages:
    55
    Likes Received:
    5
    First Language:
    Portuguese
    Primarily Uses:
    RMVXA
    Well, that actually resolved the problem of the consecutive gab windows, and I really thank you for that, but my character really has to be frozen in place while waiting for the first gab window to vanish?
     
    #3
  4. JGreene

    JGreene Veteran Veteran

    Messages:
    375
    Likes Received:
    287
    First Language:
    English
    Primarily Uses:
    RMMV
    If it's a parallel process running the event, then no.
     
    #4
  5. CarlosDavilla

    CarlosDavilla The Insolent One Veteran

    Messages:
    55
    Likes Received:
    5
    First Language:
    Portuguese
    Primarily Uses:
    RMVXA
    Oh well, I guess I'll just have to make tons of switches to activate them instead of having it put in action button events. That's a lot more work, but I guess it can't be helped.

    Thanks for your time. Have a good night (Or day. I dunno where you live anyway).
    The thread can be closed.
     
    #5
    JGreene likes this.
  6. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,747
    Likes Received:
    4,181
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #6
Thread Status:
Not open for further replies.

Share This Page