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

Triangle45

Veteran
Veteran
Joined
Aug 26, 2020
Messages
86
Reaction score
24
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
931
Reaction score
2,182
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,544
Reaction score
3,714
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,302
Reaction score
1,567
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
836
Reaction score
466
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,544
Reaction score
3,714
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
86
Reaction score
24
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
72
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
836
Reaction score
466
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
86
Reaction score
24
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 Profile Posts

Once again working on a game I'm not sure I'm going to sell or even publish
That feel when you're awake past midnight and suddenly you're one year older :ninja:
I miss collaborations, but I don't know how to find someone to make face parts just to share them with others, and even though I don't like writing or music, I can't trust anyone with writing on my game because it has themes that are easy to mess up, and music needs a clear tone and scenes.
People donating to me for my upcoming birthday so I can pay my team a little. Such angels, I'm so happy. T uT I smile so much my face hurts. Good souls in this world.
Playing Ragnarok Online again is very nostalgic. The last time I played it was 20 years ago, when I was ten-twelve old.
My first mmorpg.^^

Forum statistics

Threads
105,571
Messages
1,014,725
Members
137,245
Latest member
dashstop
Top