I use
Yami's
Overlay Mapping script (april of 2012 update) to get sun rays and shadows on my maps but I noticed it prevents me from using Control switches: to be more precise, when I do use a Control switch, the game jumps directly to the content of the second Event Page, like if the Control switch was on right at the beginning of the game instead of waiting for the content of the first Event page to perform before setting the Control switch as on.
For example, I have this intro scene with a short dialogue on map 1 at the end of which the Control switch is turned as on, then player is transfered to another map where a second scene occurs; there is a third scene on a third map, then players is tranferred on map 1 again where a fourth scene happens: the Switch is supposed to make this fourth scene happens at this moment, but for some reason the fourth scene happens at the very beginning of the game, like if the Control switch was on by default...
I encountered other similar issues in the third map where the player can dialog with some NPCs: every dialog is made of 2 Event pages with a Control switch at the end of the first Event page to go on the second Event page when the payer wants to keep on discussing with the NPC although this one doesn't have anything to add to the conversation – in this case, the NPC just says to the player that it should hurry to his appointment. But the dialog begins at the second Event page instead of the first.
The only other script I use is
Yanfly's
Parallax Lock v1.00. If I remove this script from the Script Ed, it doesn't solve anything. But when I put it in again and I remove
Yami's
Overlay Mapping script instead, the bug disappears.
Any idea to solve this issue? If I decide to use additional maps instead of switches, how many can I put in a project in total? And if I must envisage to use a different script for overlays, which one would you recommend?
Thanks in advance for any help
