Day and Night System Conditionals Help [Solved]

ItsAri

That one Weeb
Member
Joined
Dec 9, 2019
Messages
25
Reaction score
8
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,707
Reaction score
562
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
Member
Joined
Dec 9, 2019
Messages
25
Reaction score
8
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

So ms store had an idea to nuke the the entire app when the file integrity is slightly broken.
Im on another months long scripting high. I wonder if I can go SSJS3?

Version Fille in english is now complete!
Download the game on itch.io:
Talk about it here: https://forums.rpgmakerweb.com/index.php?threads/120802/

Enjoy and share!
3am me was like.... Hey buddy, what if I told you, where we're going we don't need events? :LZSwink:
5pm me is like.... Was 3am me onto something? No! Must work on actual gameplay! Rabbit hole bad! :kaoback:
I'm thinking of having a scavenger-based way to learn advanced skills in my first game, and use the work I did for figuring out a skill grid/maze instead for an optional dungeon in the game.

Forum statistics

Threads
98,037
Messages
948,728
Members
129,292
Latest member
zenmai
Top