Kim_Shyuen

DAYDREAMER乁( ◔ ౪◔)「
Veteran
Joined
Oct 19, 2015
Messages
101
Reaction score
289
First Language
Chinese
Primarily Uses
RMVXA
Hi guys!
I tried to made a system which item is given to the player based on the value stored in a variable.
for example:
when variableX >=50, obtain[flower red]+1, [flower blue]-1;
when variableX >=30, obtain[flower blue]+1, [flower red]-1 etc

Here's the event page
1632631924789.png

Everything works fine but when I re-open main menu for several times, the item will add-on automatically until x99, but I only need x1 for the specific item
How should I solve this? Thanks in advance!
 

uglywolf

Veteran
Veteran
Joined
Nov 9, 2015
Messages
67
Reaction score
81
First Language
Malay
Primarily Uses
RMMV
Can you screenshot your switch and variable settings?
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
998
Reaction score
461
First Language
english
Primarily Uses
RMMV
i can't read that but it looks like your using a common event with a switch,
which means the 'trigger' is set to autorun or parallel.
(guessing parallel since you can open the menu again after)
and it doesn't look like the common event is turning that switch off. meaning the event is looping constantly until it gets turned off.
 

Kim_Shyuen

DAYDREAMER乁( ◔ ౪◔)「
Veteran
Joined
Oct 19, 2015
Messages
101
Reaction score
289
First Language
Chinese
Primarily Uses
RMVXA
@Tiamat-86 I'm using common parallel event with a switch. Yeah that switch is the main problem
I've figured it out, thank you so much!!
 

Latest Threads

Latest Profile Posts

I decided to reinstall one of my most favourite game of all times, Gothic 2. Time to get back to Khorinis!
So much game make... I needs to rest. The foods call.
-Casino with bunnysuit green check.png
1638563168795.png
Monday December 6th 2021 at 7PM Hawkzombie will stream A Thief's Voyage on his Twitch.

Hawkzombie Twitch

Check it out.​
Ladies and gentlepeeps, I'm working on a Chuck E Cheese horror game! Did you know that in the 80's, in the Pizza Time Theater, Helen Henny was a separate character who performed in a separate room called the Cabaret? She was one of the possible guest stars there, and she was a Hollywood star at the time. But this particular unit seems to have a dark secret...

Forum statistics

Threads
117,162
Messages
1,105,054
Members
153,244
Latest member
MLC
Top