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
63
Reaction score
76
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

Something might be coming...
Hallo.png
A new day for creating :)
2021 has been the runner-up for the worst year of my life. 2015 may take that title, but '21 is pushing it. Excuses really don't justify how much of a jerk I've been this year to a lot of people.

I'm sorry. I don't intend to be a jerk forever, but I'd rather back up my intent with actions, not words.
"Another hundred habaneros... a teaspoon of tumeric... and a heaping helping of nitroglycerin!" The kitten in a chef's hat laughed maniacally as the pot he was stirring promptly exploded.

Forum statistics

Threads
116,019
Messages
1,094,956
Members
151,333
Latest member
QpQp
Top