Clear graphics cache with script call

Discussion in 'RGSS3 Script Requests' started by djbeardo, Jun 30, 2019.

  1. djbeardo

    djbeardo Veteran Veteran

    Messages:
    37
    Likes Received:
    10
    First Language:
    English
    Is there a simple script call that clears the cache/ram?
    I've look around and someone said a simple script call of "cache.clear" will do it - but that gives me a crash. Do I put "$cache.clear"?
    And then I found this forum, but the formatting of the rgss is all funky in one of the replies and it doesn't work when I import it.
     
    #1
  2. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,153
    Likes Received:
    4,588
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    Cache.clear
    with the first C as a capital letter
     
    #2
    Starbird_Resources likes this.
  3. Heirukichi

    Heirukichi Veteran Veteran

    Messages:
    1,049
    Likes Received:
    384
    Location:
    Italy
    First Language:
    Italian
    Primarily Uses:
    RMVXA
    As Shaz wrote in the thread you mentioned, the command is
    Code:
    Cache.clear
    EDIT: ninjed by Theo
     
    #3
  4. Neo_Kum0rius_6000

    Neo_Kum0rius_6000 Not Your Ordinary Guy! Veteran

    Messages:
    175
    Likes Received:
    333
    Location:
    Russia
    First Language:
    english
    Primarily Uses:
    RMVXA
    Wow I was looking for something like this thanks!
     
    #4
  5. djbeardo

    djbeardo Veteran Veteran

    Messages:
    37
    Likes Received:
    10
    First Language:
    English
    Omg. Capital C.
    I've been struggling with this for a week. *head smack*
    Thank you so much!
     
    #5
    Starbird_Resources likes this.

Share This Page