Day and Night System Conditionals Help [Solved]

ItsAri

That one Weeb
Veteran
Joined
Dec 9, 2019
Messages
34
Reaction score
19
First Language
English
Primarily Uses
RMMV
I know there are certain plugins for this, but I am evening a time system since it only alternates through Day and Night. I'm trying to make use of an And Boolean Statement, but I'm not sure how to write it properly write it.

Is it:
var Month = 12 && var Day == 31
or
Month = 12 && Day = 31?
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,868
Reaction score
615
First Language
Dutch
Primarily Uses
RMMV
if you use variables, than it would be in script: $gameVariable.value(id, 12) &&$gameVariable.value(id, 31)

replace ID with corresponding day, month variables.
 

ItsAri

That one Weeb
Veteran
Joined
Dec 9, 2019
Messages
34
Reaction score
19
First Language
English
Primarily Uses
RMMV
ahhhh ok thanks
:kaojoy:
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Is it strange that dropping acid is improving my game development?
I'm starting to wonder if I should go the Half Minute Hero route with my game. The character's main weapon is logistically way too strong. So I can't really let the player continuously grow it.... But if they had to build it up each time like HMH, that could work. Also it lets me take advantage of my randomly generated maps so much more. Hmm... This could work! :LZSexcite:
std::vector, std::map and std::string. Three reasons why I'd take C++ over C. :D
Today, 1,932 RPG Maker fans died from being too wow'ed. May they rest in peace.

Forum statistics

Threads
99,199
Messages
962,944
Members
130,782
Latest member
rafane
Top