Change event sprite based on the day

Discussion in 'RGSS3 Script Requests' started by FAGC54, Sep 28, 2017.

  1. FAGC54

    FAGC54 What was that variable for? Veteran

    Messages:
    48
    Likes Received:
    2
    Location:
    dotNET Productions
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    Hello everyone!
    Im looking for a script that changes the sprite of an event based on the day it currently is.
    For example, lets say you have a house, and you don´t want that the kitchen looks the same all the time, so you want to make it look like a real kitchen by moving the chairs, change the fruit in the basket, reorganize the plates, have some mess for a day.
    This events will change sprites based on the day, like if today were Sunday, you´ll have the house clean, but in monday there is some plates to wash, and you have apples on the basket, and bread over the table.

    Is there a script for this? Can i do this with a common event?

    Thanks in advance.
     
    #1
  2. xdan

    xdan Veteran Veteran

    Messages:
    158
    Likes Received:
    59
    First Language:
    Spanish
    Do you mean real world calendar, or the game's own day system?
     
    #2
  3. Andar

    Andar Veteran Veteran

    Messages:
    28,448
    Likes Received:
    6,494
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    As long AS you have a variable for counting the day, there is absolutely no need for a script.

    Give the event seven pages, one for each day of the week and with the sprite you want on that day. Then condition the event pages on the day, first page for day 1, second page for day 2 and so on.
     
    #3

Share This Page