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
59
Reaction score
67
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
970
Reaction score
432
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 Posts

Latest Profile Posts

So I just got my computer back (Was posting stuff on my phone) But now my dang monitor's broken! I'll need to get a new one, which means... JOBS! Yaaay... When I get a new monitor, I'll post picture of one of my RPGMMV projects.
Wish me luck... :kaodes:
Had to clean up disk space because Windows Updates was having my primaries' disk space for breakfast, lunch and dinner. I guess the clean up thingy doesn't work or something because there were 15gigs of old update files in it.
Monday morning, and the sudden message: Hey, can you set up a full second lesson about pixel art till tomorrow?
No one:
Steam game achievement: "Die 100 times in easy mode".

Forum statistics

Threads
115,889
Messages
1,093,733
Members
151,134
Latest member
umememe
Top