Orange Time System

Try this:

Code:
if($dataMap.meta.time_set !== undefined){
  OrangeTimeSystem.hour = Number($dataMap.meta.time_set);
  OrangeTimeSystem.updateTime();
}
Try this:



if($dataMap.meta.time_set !== undefined){
OrangeTimeSystem.hour = Number($dataMap.meta.time_set);
OrangeTimeSystem.updateTime();
}

tanks you solve my problem =:0)
I curently use some event where I change the variable timeofday.
The same one that your sustem use for store time of the day(1-3).
After some stuff, I want to put it back at the good value.
So how can I set to my variabl the corect time value stored in your pluggin?
the demo disapears? 😢
Let's say that you have an event that's scheduled to go off at midnight every day in real time.
Is there a way to queue the event in case you were in dialogue or doing some other kind of uninterruptible action when it was supposed to go off?

I'm sorry if this is an obvious question or was already answered.
First of all, this plugin is fantastic, but I'm seeing a few odd behaviors when using it with Time System Variables, OrangeHUD, and Variable Pictures: I have an event set up where the player is shown an image, a text box shows, and then, using scripts, the day moves forward by one, and the hour becomes 6 AM, with both of these changes shown in a clock image I have created. For some reason, the script call to set the hour to 6 seems to do nothing
Show us screenshots of what you did, and we can check it for errors.
Show us screenshots of what you did, and we can check it for errors.
Funny enough, Once I switched the order in which the scripts were called, it fixed all my problems. I previously had the day change, and then the hour, so by switching those, everything works again. I am still curious as to why that is
Hmm, so far this works great. 😀 But I can´t find the demo, did I miss something? I just wan´t to know how I can show a clock time ingame so players can see the actual time(the actual date [day,month,year] would be great too).
i seem to cant get the hour to go up such as 2-3.
any help would much welcomed

Hmm, so far this works great. 😀 But I can´t find the demo, did I miss something? I just wan´t to know how I can show a clock time ingame so players can see the actual time(the actual date [day,month,year] would be great too).
Use this. hope this helps.

@steveobam , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


You can edit your post if you need to add more.
I was setting up clock hud to show something like: "day of the week name (Monday) day period (Morning), hour:minute".

Is it possible to show day period like night, morning, dawn and evening? It only shows a number, or I'm missing something?
I was setting up clock hud to show something like: "day of the week name (Monday) day period (Morning), hour:minute".

Is it possible to show day period like night, morning, dawn and evening? It only shows a number, or I'm missing something?
I think this might help. Try making a new event in common events and using this script.
Yes it worked. Thank you @steveobam.
Hi, I am running into a couple issues I was hoping to get help with. I'm sorry for my newb questions, I am still learning:

For this one, I am trying to advance the time/day when a person rents a room:

Yup:

Code:
OrangeTimeSystem.hour = 6;

This works perfect, except that it isn't advancing to the next day. So for example, I set up my "advance time command" to 1pm ( OrangeTimeSystem.hour = 13😉 and changed my game start time to 11pm Day 1. I then rented a room and used the code above to advance time to the next day (day 2) at 1pm, but instead it changed it to 1pm on Day 1. Any tips?

See Image 1 (Inn Advance)

I am also having an issue with the lighting indoors not being affected by the "ON switch"
I set up. I set the switch in the plugin settings, and then created an event up in the corner with the switch "on". I have tried changing priorities, triggers, etc and it doesnt have an effect.

Lastly I am having issues with a daily event (I am wondering if this is due to the problems I am having advancing time above) I am attempting to teleport a player to a new location each day at 1pm. Nothing happens though.
Script: OrangeTimeSystem.setTime(0, 0, 6, OrangeTimeSystem.day + 1)

I use that as the 'wake up' time for a tavern. So it's 6am the next day.

I think that's what you're looking for.
Script: OrangeTimeSystem.setTime(0, 0, 6, OrangeTimeSystem.day + 1)

I use that as the 'wake up' time for a tavern. So it's 6am the next day.

I think that's what you're looking for.

Yay, that works thanks!
how would I go about having an event occur every Saturday
I can't find the demo? Is there one attached to this post?
@Hudell I'm not sure I should report that to you or KHAS, but I'm using your time system and KHAS Ultra Lighting, but every time while I'm inside (by switch or tilkeset) - lights are gone. Not sure why...

And 2nd thing: I want to make home (where is inside, but normal tint screening) and caves (where is inside but there is very dark always) - how can I achieve this? There is only one "inside" :blush:

Original thread: https://forums.rpgmakerweb.com/threads/orange-time-system.46509/