[SOLVED]Common events create conflict when called from an item?

Triangle45

Veteran
Veteran
Joined
Aug 26, 2020
Messages
81
Reaction score
22
First Language
Spanish
Primarily Uses
RMMV
So I found this error over and over and I cant figure it out. This is an item called Canned Coffee, it's supposed to set your walking speed back to 4 (Normal) (because when you are sleepy it is set to 3), and play a Sip&Gulp sound effect. These are 2 separated common events.
But the thing is every time I drank the coffee, I only heard the Sip&Gulp sound but the speed remained set to 3. I switched the common events places, and now when I drink the coffee, it only sets the speed back to 4 but now the sound doesnt play?
In the end I had to create a new common event (SipAndSpeed) which does both together, play the sound and set the movement speed back to 4 and now it works.

But it left me wondering, can't you call 2 common events from using an item? It only allowed me to use 1 apparently so I had to mix together 2 common events into 1.
 

Attachments

Hyouryuu-Na

Sapphire Sodium
Veteran
Joined
Jun 15, 2017
Messages
860
Reaction score
2,017
First Language
Not English
Primarily Uses
RMMV
Only the latest common event will be called. Having two different common events is just unnecessary.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,532
Reaction score
3,683
First Language
Java's Crypt
Primarily Uses
RMMZ
It was a bug on MV (that was finally fixed on MZ), but the only way to get it to work on MV is with a plugin.
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,278
Reaction score
1,532
First Language
English
Primarily Uses
RMMZ
If you call a single common event from the item - then you can call multiple common events from that common event.
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
805
Reaction score
438
First Language
Poland
Primarily Uses
RMMV
@Hudell - I never needed to use common events in items, but triggering Common Event inside another common won't work?
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,532
Reaction score
3,683
First Language
Java's Crypt
Primarily Uses
RMMZ
@Hudell - I never needed to use common events in items, but triggering Common Event inside another common won't work?
Yes, if you create an extra common event to call the other two, those two will be called using a different method that doesn't have that bug. It's kind of annoying though, I'd prefer adding a plugin that fixes the direct common event calls.
 

Triangle45

Veteran
Veteran
Joined
Aug 26, 2020
Messages
81
Reaction score
22
First Language
Spanish
Primarily Uses
RMMV
Yes, if you create an extra common event to call the other two, those two will be called using a different method that doesn't have that bug. It's kind of annoying though, I'd prefer adding a plugin that fixes the direct common event calls.
So an item triggering a commong event that itself calls 2 separated common events is ok but an item trigerring 2 separated common events wont work? Well thats annoying but workable.
 

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
239
Reaction score
71
First Language
Chinese
Primarily Uses
RMMV
I remember that Hime has a plugin that supports calling multiple event queues, but I'm not sure if it works.
Because now his website is inaccessible
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
805
Reaction score
438
First Language
Poland
Primarily Uses
RMMV
@41728280 website works fine, probably just some glitch in software on hosting provider, anyway, I think this plugin you are refering:
 

Triangle45

Veteran
Veteran
Joined
Aug 26, 2020
Messages
81
Reaction score
22
First Language
Spanish
Primarily Uses
RMMV
@41728280 website works fine, probably just some glitch in software on hosting provider, anyway, I think this plugin you are refering:
Omg this is wonderful, it works, my items can now trigger multiple common events! Thank you so much. I have no idea why the vanilla software wouldn't have this as an option to begin with!
This thread can be closed now.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Dev stream today, come on by and ask questions about rpg maker!
Fun fact: If your story introduces a variety of different races, the "human race" will automatically become the most corrupt race in general.
Finally finished my late start entry for the jam. Now. I. Sleep.
Just made 3 easy, simple and small MZ plugins today(12 hours straight), and I never thought I could ever do this.
Now I feel myself being very productive, even though I know I'm just utterly flattering myself lol
Mind: "I have cool ideas! Let's make it real!

Body: "You wanna make sumthin? I'm in."

Eyes: "Go to sleep, go to sleep."

*Sleep*

Forum statistics

Threads
104,646
Messages
1,007,812
Members
136,132
Latest member
A87
Top