The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: flowerthief on November 16, 2006, 06:19:08 AM

Title: Question about common events
Post by: flowerthief on November 16, 2006, 06:19:08 AM
I want to make sure I've got this right.
I expect that you can "pass a parameter" to a common event by first setting a game variable from the command list of the event that calls that common event. Then the common event can call a script and access the game variable as needed. Is this typically how it's done?

Also, what is the meaning of parallel processes and how are they used?
Title: Re: Question about common events
Post by: punishermark13 on November 17, 2006, 02:24:28 AM
the commen event is also to make cool effects in ur skills/weapons like when it says commen event just put ur in.
i do it for like to so that like he goes berserk and change stitse to make him buff and stronger that is timed.
Title: Re: Question about common events
Post by: :) on November 17, 2006, 02:25:51 AM
parallel processes will make it so that your events on that page will run at the same time.
Title: Re: Question about common events
Post by: Corvus Sangreal on November 19, 2006, 04:31:44 PM
parallel process in common events will make it run for the whole game, no matter what you do or on which map you are.
Title: Re: Question about common events
Post by: Zeriab on November 20, 2006, 06:20:44 PM
Quote from: Corvus Sangreal on November 19, 2006, 04:31:44 PM
parallel process in common events will make it run for the whole game, no matter what you do or on which map you are.

Nope. Parallel process in common events run when the designated switch is ON.
In that case it will run continuously until it is turned off.
If you change map the process will be restarted. This means that if you use a wait command in the start then the wait would be restarted.
Just use variables and switches to pass information.

You can also use global variables in the Call Script.

The meaning of a Parallel process is to have something running in parallel with whatever else you are doing.
How they are used depends on what you want to achieve.

I know this doesn't really help on understanding them. I'm just a bastard who doesn't feel like written a tutorial right now.

- Zeriab
Title: Re: Question about common events
Post by: Corvus Sangreal on November 20, 2006, 07:49:35 PM
But in my case, switch turned on common event on one map, and I saw it's results on the others' too. For example, I made it to count something and do other thing when count gets to some number. I let it count half on one map (not where the switch was) and other half on other map (again not in same where count was) and the results where positive. so, if you go to other map switch does not reset, or deactivate, thus common event work on all maps. For my case of course. It all depends how you make it. But I wanted to tell him that it is possible.
Title: Re: Question about common events
Post by: Zeriab on November 23, 2006, 10:22:09 PM
Try entering this as a common event:

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg299.imageshack.us%2Fimg299%2F8107%2Fcommoneventissuels7.png&hash=174bf94898fbe89938f03522fed577bd8dfc53f0)

This shows what I mean. Just try transferring between maps.
Just keep it in mind when making your common events.