Problem turning on lights after a certain hour using two scripts

Status
Not open for further replies.

SkulleD42

Veteran
Veteran
Joined
Aug 15, 2015
Messages
71
Reaction score
6
First Language
Spanish
Primarily Uses
RMVXA
Hi, I am using the Vlue Basic Time script (https://forums.rpgmakerweb.com/index.php?threads/basic-game-time-night-day.1079/) to have a day/night cycle and Zeus81 Lights & Shadows (https://forums.rpgmakerweb.com/index.php?threads/zeus-lights-shadows.16040/) to get events that emit light and stuff. My problem is when I use a conditional branch to turn on some torches right after it's 18:00. The game just crashes. I know it can't be an incompatibility problem because other lights work and when I make a normal event appear at 18:00 also works so I guess I'm doing something wrong. I hope you can help me.

Here are some images with the error and my conditional branch
img1.PNG img2.PNG
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
GameTime::hour?

The H should be lowercase.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Use lowercase "h"
Code:
GameTime::hour?
Edit: Ninja'd
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
[move]RGSSx Script Support[/move]
 

SkulleD42

Veteran
Veteran
Joined
Aug 15, 2015
Messages
71
Reaction score
6
First Language
Spanish
Primarily Uses
RMVXA
Oh my god I cant believe I made that mistake. Thank you guys!!
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,867
Reaction score
5,240
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

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.

Forum statistics

Threads
106,035
Messages
1,018,454
Members
137,821
Latest member
Capterson
Top