Run common event for another event.

Is there a way to make an event cause another event to run a common event?


Something like putting a script call: "run.event( common event id, event id)" inside an event, which cause the event to make the event with the id runs the common event with the id.


Sorry for the eventception.
In the event you want to initiate the common event, on the first tab of the Event Command Menu, left side, towards the bottom, select 'Call Common Event' and choose which one you want to run.
Why would you want one event to tell another event to run a common event?  What's the scenario?
It's a complicated one. I was using Galv event spawner to spawn some random events. And another  event to pick a random event to run a common event. That's why I needed a script. Because the event is chosen at random.
You haven't explained why you want one event to tell another event to run a common event.  Why not run it from the first event?  Why not make the second event run it without being told to by another event?


Scenario = context = what is it you're trying to do.  Not how you're trying to do it.  Unless we know what it is you want to accomplish by getting one event to tell another to run a common event, we're a bit in the dark.
Is there a way to make an event cause another event to run a common event?


Something like putting a script call: "run.event( common event id, event id)" inside an event, which cause the event to make the event with the id runs the common event with the id.


Sorry for the eventception.

to run common event with script.
Use this


// ? = ID CommonEvent
$gameTemp.reserveCommonEvent(?);

// And for run this with the event id
var tempID = $dataMap.events[this._eventId].id
$gameTemp.reserveCommonEvent(tempID);


but like say @Shaz


Am not understant your scenario.

Original thread: https://forums.rpgmakerweb.com/threads/run-common-event-for-another-event.71904/