RMMV Pass Parameter When Calling Common Events

KineticDog

Villager
Member
Joined
May 13, 2019
Messages
19
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hi there. I would like to know if it's possible to pass parameters when calling a common events. This could make a lot of work easier.
I already know a compromised way of achieving it, which is save the value in a variable first, and fetch it in common event. I just want to know if there is more straightforward and elegant way to achieve it.
Thanks in advance
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,043
Reaction score
1,474
First Language
EN
Primarily Uses
RMMZ
Not without a plugin...how would that work, anyway? :kaoswt2:

Just use a variable, it's generally OK if you're careful with your references. :)
 

NatePlays

Veteran
Veteran
Joined
Dec 12, 2018
Messages
43
Reaction score
9
First Language
English
Primarily Uses
RMMV
If using variables, you might need Hime's CommonEventQueue if that event is called twice or more
 

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

Latest Threads

Latest Profile Posts

Pootscooter wrote on Pharonix's profile.
Hey @Pharonix, just wondering what you're up to lately and if you've had an opportunity to check out the LTBS thread in the past few days...(a couple of us could really use your expertise). Hope you are well and Happy Thanksgiving!
Anyone know the best size image to put in signature?
Well, the local collections agency is hiring... bleh. I'm not rude enough for them to hire me. Even the people they collect FOR don't like dealing with them. >.>
EA: "Kids are buying currency, not using money to gamble. It shouldn't be illegal!"
Me: "So... kids should be allowed into casinos to buy poker chips and not spend them at the blackjack table? Pretty sure, even buying currency used to gamble is illegal for children."
Been hard at work in photoshop working with MOG scripts for main menu & victory result screens, might do all my maps and Npc chatter this week too!

Forum statistics

Threads
105,500
Messages
1,014,211
Members
137,154
Latest member
Kurtkakes
Top