Status
Not open for further replies.

Mercedes90

Veteran
Veteran
Joined
May 7, 2021
Messages
129
Reaction score
50
First Language
English
Primarily Uses
RMMV
I'm using the LNM_GameTime Plugin and I've tried to set a Switch with a time limit for a door (leading to a nightclub map) to be enabled/open between 21:00 to 6:30.​
I've read the example in the Plugin description but did not quite understand how to do it exactly:​
"Time LIMIT time_begin time_end self_switch
Activates the specified switch only between time_begin and time_end.
-- Example:
Time LIMIT 6:00 13:40 A
Activates the self-switch A between 6 AM and 1:40 PM."
Appreciate the help. Thanks.​
New EDIT due to negative and upsetting responses -
HENCE; I'm asking about how to use the Plugin Command of the "LNM_GameTime" Plugin. I'm NOT asking "how to make a door", or "how to set Switches", since I know these already. And screenshots are not posted since there's nothing to screenshot. All I'm asking is merely a simple question. If someone does not like my question, please refrain from wasting both of our time by posting a negative answer. Thank you.
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,461
Reaction score
10,886
First Language
German
Primarily Uses
RMMV
If that is supposed to be asking how to use that to make a door, then unfortunately you're missing the basics of eventing because having any event (including a door event) being controlled by a switch IS the basis of eventing.
In that case I strongly suggest you pause game making for a month and use that time to work through the basic tutorials. Because you WILL need a month for those tutorials if you want to learn from them.

If you have a different question, then please ask it and provide details of what you're trying to do - as has been told to you a few times if I remember correctly, no one here can read your mind - you need to provide details of what your problem is, including screenshots of your events.

EDIT:
Just to clarify: when I wrote the above, only the green part copied from the plugin description was visible in the post above, and the title was also more simpler and less understandable.
And the color choice of yellow makes that further edit practically unreadable as well.
 
Last edited:

Mercedes90

Veteran
Veteran
Joined
May 7, 2021
Messages
129
Reaction score
50
First Language
English
Primarily Uses
RMMV
Excuse me??!​
Nevermind! I'll figure it out myself!​
 
Last edited:

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,014
Reaction score
16,828
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Thank you.



Please give a link to the plugin so we can read its documentation. The example above has an end time that is after the start time on the same day. You want the end time to be before the start time, but on the next day. It's probably not going to be as easy as the example. I'd actually look to see if you can use a variable containing the time, and have 3 pages - one with time > 0 (default when you have no conditions) when the door will be open, one with time > 6:30 when door will be closed, and one with time > 21:00 when door will be open. The question is whether you can link a variable to the time, and I can't tell that without the plugin documentation.

Also, please change your edit to be a different colour. Blue and red are reserved for moderator use, as per forum rules.
 

Mercedes90

Veteran
Veteran
Joined
May 7, 2021
Messages
129
Reaction score
50
First Language
English
Primarily Uses
RMMV
Hi, Shaz. I have not used variables for this, because according to the documentation; it seemed that I only required a "Plugin Command" to activate and/or deactivate events. And Variables are needed to "save time" which looks different from what I want.​
Here's the link to the thread documentation of the LNM plugins including the "LNM_GameTime.js" -​
If you scroll a little below you'll find this in the "Time System commands" list in the thread:​
Time LIMIT time_begin time_end self_switch
Activates the specified switch only between time_begin and time_end.
eg: Time LIMIT 6:00 13:40 A will activate the self switch A of the event calling the plugin command between 6am and 1:40pm.
eg: Time LIMIT 22:30 5:15 C will activate the self switch C of the event calling the plugin command between 10:30pm and 5:15am."

And here are the notes from inside the Plugin:​
Disable the system time by changing the "Enabled" parameter.



============================================================================

Plugin commands

============================================================================



Time PAUSE

Stops time. This is useful for cutscenes.



Time PLAY

Reactivates time.



Time SET time

Sets game’s time to a specific time.

-- Example:

Time SET 15:00

Sets game’s time to three in the afternoon.



Time ADD hours minutes

Advances time.

-- Example:

Time ADD 2 15

Advances time by two hours and fifteen minutes.



Time SAVE hour_var minutes_var

Saves the values of hour and minutes to the specified variable numbers.

-- Example:

Time SAVE 2 3

Saves the hours in the variable #0002 and the minutes in the variable #0003



Time LIMIT time_begin time_end self_switch

Activates the specified switch only between time_begin and time_end.

-- Example:

Time LIMIT 6:00 13:40 A

Activates the self-switch A between 6am and 1:40pm.



Tint SET red green blue

Sets the tint of the map to the specified colour.

-- Example:

Tint SET 255 0 0

Sets the tint red.



Tint SET tint_number

Sets the tint of the map with a tint from the configuration.

-- Example:

Tint SET 3

Set the tint with the 3rd tint in config.



Tint REMOVE

Resets the tint to the time tint, or removes the tint if the time plugin is

disabled.



Clock MOVE x y

Moves the clock window to coordinates (x,y).

A negative coordinate will keep the window at the same position on the axis.

-- Examples:

1. Clock MOVE 0 700

Move the clock window to (0,700)

2. Clock MOVE 200 -1

Change the horizontal position of the clock window to x=200



Clock REL_MOVE x y

Adds x and y values to the current position.

-- Example:

Clock REL_MOVE 50 0

Will move the clock window from 50px to the right.



Clock SHOW [map/menu]

Shows the clock window in the menu or the map.

If you don't specify which window to show, it will show the map window by

default.



Clock HIDE [map/menu]

Hides the clock window of the menu or the map.

If you don't specify which window to hide, it will hide the map window by

default.



Clock TOGGLE [map/menu]

Toggles the visibility of the clock window in the menu or the map.

If you don't specify which window to toggle, it will toggle the map window

by default.



============================================================================

Notetags

============================================================================



These must be set in the field Note in Map Properties.



<Tint: R, G, B>

Ignores time and sets the screen tone specified in RGB color (Red, Green,

Blue). This is useful for darker dungeons or zones in which lighting is not

time dependant.

-- Example:

<Tint: 0, 0, 0>

Ignores time and sets the screen tone to black.



<Tint: CustomTintID>

Ignores time and sets the screen tone to a Custom Tint from the Plugin

Manager.

-- Example:

<Tint: 8>

Sets the screen tone of Custom Tint 8.



============================================================================

Special thanks

============================================================================



Xelion for helping me with the translations.

Vlue for making the “Game Time MV” plugin. I learned from his source code.



============================================================================

Changelog

============================================================================



Version 1.5.1:

* Correct a bug where opening and closing the Game Editor resets the tint.

* Correct a bug where using Time PAUSE and then Time PLAY resets the tint.



Version 1.5.0:

+ Add the possibility to use Time SET xx:xx instead of Time SET xx xx

+ Add the possibility to keep the tint during battle (can be disabled in

configuration).



Version 1.4.1:

* Correct bug with "Add" plugin command



Version 1.4.0:

+ Add possibility to move Clock window with configuration

+ Add possibility to move Clock window with plugin commands



Version 1.3.0:

+ Add tint command to set map tint through plugin command.

+ Add tint command to remove the tint through plugin command.



Version 1.2.3:

* Correct a bug where using the "Used with MV" plugin would make the game

crash. Corrected the same bug for all other "splash screen" plugins.



Version 1.2.2:

+ Add the possibility to activate the time window on the map.

* Modify the parameter that shows the time clock into the menu.



Version 1.2.1:

* Fix a bug where deactivating time would make a black screen.

* Fix a bug where spaces in the <Tint> note were mandatory.



Version 1.2.0:

+ Add the possibility to store current time into variables.

+ Add a default time value when starting a new game.

+ Add the possibility to change an event's self switch based on time.



Version 1.1.0:

-- FeelZoR continues development

+ Add the possibility to disable the time system.

* Correct a bug where the custom tint set to the map would reset after

closing a menu.



Version 1.00:

-- Plugin published.
--------------------------------------------------------------------------------------
Also, please change your edit to be a different colour. Blue and red are reserved for moderator use, as per forum rules.
Done. I've changed it.​
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,461
Reaction score
10,886
First Language
German
Primarily Uses
RMMV
@Mercedes90
again, what you wrote is absolutely unreadable.
please stop messing with text colors
unreadable.png
 

Mercedes90

Veteran
Veteran
Joined
May 7, 2021
Messages
129
Reaction score
50
First Language
English
Primarily Uses
RMMV
@Mercedes90
again, what you wrote is absolutely unreadable.
please stop messing with text colors

That's why there's an option for a Dark theme that lets you see most of the text!​
And again you're replying by not sticking to the subject other than being rude and arrogant. Me "messing with the colors" is clearly not much of a bigger problem than your major issue by having a lack of self-control when expressing yourself and having anti-social behavior towards other members!​
You're too sour all the time, and I'm not willing to speak to you again nor will I ever respect you since you don't deserve it! You are rude and I've seen your posts with the bad attitude you give towards other members in this site who happen to know less about the RPG engines and I don't know why the moderators aren't giving you a warning for your frequent anti-social behavior when you act like as if you own the place and rudely responding with an attitude to people while you're withholding the information they (and I) are asking for - That's literally a foul and unprofessional behavior which reminds me a lot about narcissism!​
Shove your arrogance somewhere else, and do not post on my threads again!​
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,461
Reaction score
10,886
First Language
German
Primarily Uses
RMMV
That's why there's an option for a Dark theme that lets you see most of the text!
and why do you think it's a good idea to force people to use a specific theme? That IS bad behaviour on your side to expect everyone to follow what you want.
People choose a specific theme for their own reasons, and if you don't mess with colors the forum engine automatically switches to a font color fitting for the theme.
for your anti-social behavior
because it is not anti-social to expect people to at least follow basic tutorials before trying complex solutions.

This topic is the ONLY one where you had a point originally because I simply didn't realise that the text was there and just invisible to me when I wrote my first answer above.
And that is because all other users here know not to force white color on their text, making those invisible topics extremely rare, so I simply didn't expected or checked for that - and reacted badly because there had been a lot of similar posts where the users didn't even give basic information about their questions lately.

But no one here is paid to help you, so everyone can and will expect those asking questions to do their homework before asking questions that a very low number of people here answer in their free time instead of working on their own projects.
 

Mercedes90

Veteran
Veteran
Joined
May 7, 2021
Messages
129
Reaction score
50
First Language
English
Primarily Uses
RMMV
People who do get paid to help people can be just as rude and just as many as those who are not being paid to help people - it's like that everywhere. No matter if it's on the internet or IRL. I do not expect anyone to help me if they don't want to, whether they are paid or not, neither do I ever ask twice if he/she refuses to hand the information, but if I'm gonna receive a negative response from someone who's withholding information as you did to other members is something I will not respect nor will I ask for the information for the second time. If I'm not clear of what I said and you have misunderstood me, if I screwed up with the color, just tell me and the members WITHOUT being rude. It's very simple to NOT be rude. But some people WANT to be rude.​
 
Last edited:

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
10,224
Reaction score
6,440
First Language
Dutch
Primarily Uses
RMXP
For clarity's sake, I changed your opening post after Andar responded to this thread, to make it readable on all modes, because I too use light mode and I couldn't see anything but the green text. I'm sorry this caused so much drama between you two.

I do not use MV, but wouldn't you just need to do this in the Plugin Command:
Code:
Time LIMIT 21:00 6:30 A
With Self switch A being the one that gets the door to open.

Closing at OP's request.

 
Last edited:
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Does anybody want to get weirded out? If so, I have a weird fact for them in the top comments.
Creating the mood, coloring, and lighting for this gonna need a big brain moment.1685936069202.png
Someone in a facebook group just corrected something I said, by saying exactly what I said. The mind boggles.
Less than 20 tiles remain in Inside_B that I need some kind of analogue of in my in custom Inside_B, and a whole 39 tiles that I didn't use and can thus make my own custom tiles or my own flavors of from other tile sheets.

Forum statistics

Threads
131,651
Messages
1,221,875
Members
173,392
Latest member
iwantpog
Top