[RM2K3] QUESTION ON CALL EVENT/COMMON EVENT
Posts
Pages:
1
I'd like to store some math functions in the common events that would run from map events, using the command. My question is, if I use the Call Event, would the common event run and then go back to the map event and resume after?
What I mean, if I'm not too clear, is:
Hero interacts with an event:
-The Event uses Call Event to do some math (or whatever else I'd use for a Common Event)
-Once the Common Event is finished, the event Hero interacted with can move the hero or show dialogue, etc...
So, can I use the original event to end the task, or am I better off finishing the task with the Common Event? I suppose another option would be to use the Common Event to switch on a third event to finish off the scene... But this seems tedious.
I hope I was clear enough. Any help would be most appreciated.
What I mean, if I'm not too clear, is:
Hero interacts with an event:
-The Event uses Call Event to do some math (or whatever else I'd use for a Common Event)
-Once the Common Event is finished, the event Hero interacted with can move the hero or show dialogue, etc...
So, can I use the original event to end the task, or am I better off finishing the task with the Common Event? I suppose another option would be to use the Common Event to switch on a third event to finish off the scene... But this seems tedious.
I hope I was clear enough. Any help would be most appreciated.
Hi Jerrsei,
Yes, what you would like to happen will happen. Think of Common Events as a universal subprogram which can be accessed from anywhere, like a function or a GOSUB in other computer languages.
Although, you should be careful when this is done after doing a Transfer Map/Teleport command, because that can have some unexpected effects. (The event won't be on the map any longer, it will going to a new map. I think this is something to watch out for when using Teleport from a Parallel Process event.)
Yes, what you would like to happen will happen. Think of Common Events as a universal subprogram which can be accessed from anywhere, like a function or a GOSUB in other computer languages.
Although, you should be careful when this is done after doing a Transfer Map/Teleport command, because that can have some unexpected effects. (The event won't be on the map any longer, it will going to a new map. I think this is something to watch out for when using Teleport from a Parallel Process event.)
Pages:
1