Orange Time System - Events

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
Try opening the game console (press F8) and type the following code there:


OrangeTimeSystem.seconds


Then press enter to see the current second. Then do it again to see if it changed. That way we will know if the problem is on the core plugin or the events / variable plugin.
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
OK I have opened the project in test mode, pressed F8 and entered the OrangeTimeSystem.seconds and followed your instructions.


This is what I came up with- note that the first 3 Orange Time Seconds where brought up 1-2 seconds apart via entering the search.


The Galv Stationary Turn commands are me turning to the event to collect money from- the OrangeTimeSystem.seconds is triggered after executing the events commands. Please let me know if I am reporting the game console properly.

time problem.png
 

Rivingtondown

Villager
Member
Joined
Mar 14, 2016
Messages
13
Reaction score
4
Primarily Uses
Skurge, are you using the same variable name for the second and the money "TEST BUISNESS"?


The Common Event code you posted looks messed up. You wrote "If Test Business is equal to 10 and Test Business is less than 10" into your conditional which obviously would never fire.


if ($gameVariables.value(29) == 10 && $gameVariables.value(13) < 5000) {
$gameVariables.setValue(13,$gameVariables.value(13)+50);
}


Put that in the script for your common event. Assuming Var29 is your Second variable and Var13 is your Gold Stash variable... and you set that common event to be fired every second. Then every 10 seconds it will increase your gold stash variable by 50 until it reaches 5000.
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
I have changed the conditional branch to use that script and received a syntax error: Unexpected end of imput.


I don't know what that is talking about, I don't know how to set up the common event variables for this and I'm a little confused :/
 

Rivingtondown

Villager
Member
Joined
Mar 14, 2016
Messages
13
Reaction score
4
Primarily Uses
I have changed the conditional branch to use that script and received a syntax error: Unexpected end of imput.


I don't know what that is talking about, I don't know how to set up the common event variables for this and I'm a little confused :/


No, what I posted is the conditional. You would replace the conditional completely with just that script. I'm typing at work so I can't post screenshots but maybe I'll be able to mock something up for you when I'm home using the in-editor conditionals. Send me a Private Message and I'll try to help you out later.
 

XGuarden

Veteran
Veteran
Joined
May 10, 2016
Messages
446
Reaction score
17
First Language
French
Primarily Uses
I don't know if it's a bug but I report it as it's causing me big trouble.


I have a cute scene that was in fact really long, more then one day.


It's start with autostart.


time and daynight work great during the scene.


But I realize that after the scene, event that start automaticly at night start to run, event if it's was day.


So I guess the trouble comming from the fact that he wait for the autostart to finish before doing stuff.


Also, it's possible to start common_even in parralele? Curently if I use it for slowdown music and then slowly play se, that make player unable to move because ofthe wait command between them.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
You can't have anything running along with an autostart event.
 

XGuarden

Veteran
Veteran
Joined
May 10, 2016
Messages
446
Reaction score
17
First Language
French
Primarily Uses
I discover my probleme have nithing to do with autostart event... 


When I change map, automaticlty the cycle day restart or to be exact jumpt at 4(night)


Any idea why?


After looking all arround my code, I found that the problem came from on map load event.


Inside this code I put:

if($dataMap.meta.time_set !== undefined){


OrangeTimeSystem.hour = $dataMap.meta.time_set;


OrangeTimeSystem.updateTime();


}



it's appear that if time_set = 12, that did't work like expected.


Expected was that the time set to 12H. But the result was that the time make an +12....


Any explanation?
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
I'm retrying me efforts with this as I'm eager to make my project as gorgeous as possible.


But I'm having the worst time trying to understand how to get this to work, is there a demo availiable that I can physically look into every aspect of it's function? I find I sometimes understand the mechanics with a project :s
 
Last edited by a moderator:

Kupotepo

Fantasy realist/Advocatus Diaboli
Veteran
Joined
Jul 5, 2017
Messages
1,945
Reaction score
2,065
First Language
Thai
Primarily Uses
RMMV
@Hudell, sorry this link too. I click and the page is not found.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,015
Messages
1,018,351
Members
137,801
Latest member
topsan
Top