Also check if you have the latest EventManager, as that error shouldn't have happened. (You can see the version by opening the JS file in a text editor - the latest one is 1.2)
Downloading the newest version was the first thing I did when I got the error XD
Yes, if you use a parallel event, you'll be adding a new "disable self switch" command at every frame
Well that would explain why I got so damn many error massages XD
Having an issue with running a common event every x number of minutes...
I set up a test common event 28 that increases a variable by 1 point.
And then I had another event that contained the plugin commands, and in a test play I activated it one time:
RUN COMMON EVENT 28 ON MINUTE 0 SECOND 0
RUN COMMON EVENT 28 ON MINUTE 15 SECOND 0
RUN COMMON EVENT 28 ON MINUTE 30 SECOND 0
RUN COMMON EVENT 28 ON MINUTE 45 SECOND 0
(I don't know how else to get an event to run only 4 times per hour :/)
When common event 28 activates every 15 minutes, it actually runs many, many times. With my current plugin settings, it runs 15 times per execution, but on earlier settings it actually ran 30-35 times!
This is a problem, because instead of a variable increasing by 1 point every 15 minutes, it increases by 15 points every 15 minutes.
I feel like it has to do with the seconds being 0 (0 seconds could take up 15 frames, which is why the event runs 15 times) but I'm not really sure how else to do this without having common events run every minute and then check what the exact minute is, or something like that.
Having to have an event run every minute and then checking if the minute is a multiple of 15 feels like overkill to me, I already feel like I have too many events trying to process constantly.
I just made a quick change on the main plugin. It may have fixed your problem.
And another way to have the event running every 15 minutes is to use: "run common event 28 in 15 minutes" inside the common event itself, so that every time it's executed it already schedules the next execution.
It runs as intended with the fix now, thanks!
Hi Hudell, nice script man. You did a good job.
After the flattering, here comes the request (lol): how can i enable the time to pass on battle? If so, can i control how time passes on battle? I just need to control the time variables. It doesn´t have to tint the screen or run event, this all can wait after battle's end. Is it possible?
E sério, ótimo script. Vou mesclar ele com o teu Hudell Hud pra criar a hud de tempo.
I forgot to add a param for that, but it's just one line to change in the script:
Line 952:
} else if (SceneManager._scene instanceof Scene_Map) {
change to:
} else if (SceneManager._scene instanceof Scene_Map || SceneManager._scene instanceof Scene_Battle) {
I'll include a param for this later
Hi. I am making a simple demo related to, but not actually part of my main game, just so I can work out any kinks with some major features that I need. One is specifically the rather complicated day/night system I need. Your plugin, (awesome work btw), while brilliant, and I will be using it, does not have one feature that I need. Basically, while in the towns and cities, day/night works as normal, but on the world map, it is all dark, apart from the place of about 4-5 tile raidius where the main character is.
For the sake of simplicity, the main character is of a race of light sources, and allows 'regular' time flow. Everywhere else is subject to eternal night. Towns and cities have a certain structure which acts as a member of the main character's race, but if that structure is damaged in anyway, it does not work. Time still flows, but the day/night does not. As an aside, caves and other places, ruins etc...also are subject to the eternal night. Temples, holy places and travelling merchants etc...generally have either the structure, or a mini-version of the structure to allow day/night. Otherwise monsters, who only come out at night would attack.
Alas, this is a major feature of the game, and without it, the whole plot will fall apart. Is there anyway this is possible?
Which lighting system are you using?
None yet. I'm still in the pre-planning stages atm. Doing research for everything I need. No use getting fully invested if I can't get basically the whole reason for the plot to work. I believe you have a lighting system as well? I haven't had a chance to look yet (am on my iPad in bed atm ^_^), but I will when I get up later.
It shouldn't be real-time only, it's actually checking in case you aren't using real time.