Common Events only running once per game

superisk

Villager
Member
Joined
Aug 14, 2020
Messages
10
Reaction score
3
First Language
english
Primarily Uses
RMMV
Hi everyone,

I have a parallel Common Event that triggers when a character consumes a specific item in open play, and it runs perfectly, however, I would like this to run only the first time this item is consumed. I have tried using the Common Event itself to change the switch to off, but this doesn't work because it's not triggered by the switch, it's triggered by the consumption of the item...

At this point the only solution i can think of is to make 2 copies of the same item, the first one you pick up is linked to the Common Event, and then all subsequent pick ups is the version of the item that isn't linked to the Common Event...

As always, any help is much appreciated!
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
Add a conditional branch inside the common event; If the switch is ON, then do nothing. If the switch is off, trigger than effect and turn the switch on.
 

superisk

Villager
Member
Joined
Aug 14, 2020
Messages
10
Reaction score
3
First Language
english
Primarily Uses
RMMV
Add a conditional branch inside the common event; If the switch is ON, then do nothing. If the switch is off, trigger than effect and turn the switch on.
Perfect, did not think of that. Thanks v much!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
how are you structuring this?
Items can call common events that have no trigger, and paralel events are triggered by switches, not items.

It sounds as if you're calling a parallel common event - and that would be exactly why it doesn't work as intended, because parallel events should not be called at all.
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top