Orange Time System

Discussion in 'JS Plugin Releases (RMMV)' started by Hudell, Oct 24, 2015.

  1. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,325
    Likes Received:
    2,973
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    This plugin doesn't have a time/date window.
     
    Kuhaku likes this.
  2. Kuhaku

    Kuhaku [The Blank] Member

    Messages:
    23
    Likes Received:
    13
    Location:
    Roanoke,Virginia,USA
    First Language:
    English
    Primarily Uses:
    RMMV
    I sorted it anyhow. I forgot to set the switch in the plugin settings haha.
     
  3. cedr777

    cedr777 Lead developer of "Charao Life" Veteran

    Messages:
    223
    Likes Received:
    52
    First Language:
    Not English
    Primarily Uses:
    RMMV
    If you guys want a simple time/date window. I recommend you check out this plugin by daimonioustails.
    GameTive MV

    Edit: Also a functional date and time system btw.
     
  4. kimmy

    kimmy Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    korean
    Primarily Uses:
    RMMV
    thanks bro. really appreciate your help.
     
  5. Martin

    Martin Veteran Veteran

    Messages:
    123
    Likes Received:
    27
    First Language:
    swe
    Primarily Uses:
    RMMV
    Hello :) Awesome plugin! Thank you!

    I see you have addHours(8) and set time to 6 clock. I have read trough the forum but cant find a solution.
    Is it doable to make something like this: "Sleep" until next friday 6 am?
     
    Last edited: Sep 20, 2019
  6. Martin

    Martin Veteran Veteran

    Messages:
    123
    Likes Received:
    27
    First Language:
    swe
    Primarily Uses:
    RMMV
    I have been messing around with making if conditions and made it with eventing but it would be nice if there was a call for this.

    Another thing: Weekday 5 seems to be Saturday and sometimes Thursday, does this make sense?
     
  7. Martin

    Martin Veteran Veteran

    Messages:
    123
    Likes Received:
    27
    First Language:
    swe
    Primarily Uses:
    RMMV
    bump
    Is it doable to make something like this: Skip time to next friday 6 am
     
  8. cedr777

    cedr777 Lead developer of "Charao Life" Veteran

    Messages:
    223
    Likes Received:
    52
    First Language:
    Not English
    Primarily Uses:
    RMMV
    Unwatched.
     
  9. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,325
    Likes Received:
    2,973
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Code:
    OrangeTimeSystem.hour = 6;
    OrangeTimeSystem.day = OrangeTimeSystem.day + 1;
    OrangeTimeSystem.updateTime();
    
     
  10. Martin

    Martin Veteran Veteran

    Messages:
    123
    Likes Received:
    27
    First Language:
    swe
    Primarily Uses:
    RMMV
    Thank you Hudell, but Im sorry for not asking more correctly. I have this sleep function using OrangeTime. And one of the choises there is sleep to next friday. So no matter what weekday you go to bed you always wake up on the nearest future friday morning. I tried to do this with eventing but got strange results when trying to "if weekday5". Do you have an idea?

    thanks again, cant say enough how much you time and efforts means to me <3
     
  11. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,325
    Likes Received:
    2,973
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Code:
    OrangeTimeSystem.day += ((OrangeTimeSystem.Param.weekLength * 2 - OrangeTimeSystem.weekDay - 3) % OrangeTimeSystem.Param.weekLength) || 7
    OrangeTimeSystem.updateTime();
    
     
    Martin likes this.
  12. Martin

    Martin Veteran Veteran

    Messages:
    123
    Likes Received:
    27
    First Language:
    swe
    Primarily Uses:
    RMMV
    Wow thank you Hudell! That is fantastic :D
     
  13. Mark91

    Mark91 Villager Member

    Messages:
    27
    Likes Received:
    2
    First Language:
    Italian
    Primarily Uses:
    RMMV
    Thank you for this awesome plugin!!!!^^
    But I need a lil help....how can I make a npc to appear only at 9pm to 10pm on a specific day?
    I read that I should use variables, but I'm a dayum noob and I still need help ^^
    Can you do a practical example? .__.
     
  14. Martin

    Martin Veteran Veteran

    Messages:
    123
    Likes Received:
    27
    First Language:
    swe
    Primarily Uses:
    RMMV
    Hello. This is how I did it. Hope it helps :)

    Screenshot 2019-10-26 at 18.56.52.png
     
    Mark91 likes this.
  15. Mark91

    Mark91 Villager Member

    Messages:
    27
    Likes Received:
    2
    First Language:
    Italian
    Primarily Uses:
    RMMV
    Martin likes this.
  16. Mark91

    Mark91 Villager Member

    Messages:
    27
    Likes Received:
    2
    First Language:
    Italian
    Primarily Uses:
    RMMV
    Is there a plugin command to trigger common event A every monday from 10:00 am to 11:00 am?
     

Share This Page