Obtain current tint's RGBG values?

Discussion in 'RPG Maker MV' started by Rink27, Aug 12, 2017.

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

    Rink27 Veteran Veteran

    Messages:
    222
    Likes Received:
    12
    Location:
    Caribbean
    First Language:
    English
    Primarily Uses:
    RMMV
    Is there a way to obtain the current screen tint's red, blue, green and grey values?
    At any point in time I'm curious in retrieving these values and storing them into 4 variables so they can be referenced elsewhere.
     
    #1
  2. Shaz

    Shaz Veteran Veteran

    Messages:
    37,579
    Likes Received:
    11,299
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Try this:

    Control Variables (red) = Script: $gameScreen.tone()[0]
    Control Variables (blue) = Script: $gameScreen.tone()[1]
    Control Variables (green) = Script: $gameScreen.tone()[2]
    Control Variables (grey) = Script: $gameScreen.tone()[3]
     
    #2
    Rink27 likes this.
  3. Rink27

    Rink27 Veteran Veteran

    Messages:
    222
    Likes Received:
    12
    Location:
    Caribbean
    First Language:
    English
    Primarily Uses:
    RMMV
    Thanks @Shaz . The topic has been resolved.
     
    #3
  4. Shaz

    Shaz Veteran Veteran

    Messages:
    37,579
    Likes Received:
    11,299
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    report it, so the mods can close it ;)
     
    #4
  5. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,598
    Likes Received:
    10,511
    First Language:
    English
    Primarily Uses:
    RMVXA
    @Rink27 When you want a thread closed please Report your opening post and ask for it to be closed. Mods may not see your post but we will see a Report.

    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.

     
    #5
    Rink27 likes this.
Thread Status:
Not open for further replies.

Share This Page