I'm wondering how to add commands to execute during player transfers in VX Ace.
What I mean is, I'm using an event that draws a translucent single-color picture covering the screen to simulate darkness at night. Whenever I teleport anywhere, I'll have a common event (SET_LIGHTING) get called after the screen fades out, but before it fades in. SET_LIGHTING will handle determination of which picture to draw based on time of day. This allows for normal lighting while indoors, and lighting based on time of day while outdoors.
Here's how I used to accomplish it in previous versions of RPG Maker:
[IMG]http://i1371.photobucket.com/albums/ag294/rapiermother/ace_zps3a5658fd.png[/IMG]
But here's what I get in VX Ace:
[IMG]http://i1371.photobucket.com/albums/ag294/rapiermother/old_zps132da409.png[/IMG]
with no space in-between the fade-in and fade-out to put in an event call. This means I'm stuck calling the SET_LIGHTING event before or after the teleport, and that results in the "night screen" disappearing an instant before the screen fades out (when leaving the overworld), or appearing an instant after the screen fades in (when entering the overworld). It looks pretty silly.
How can I make this work?
What I mean is, I'm using an event that draws a translucent single-color picture covering the screen to simulate darkness at night. Whenever I teleport anywhere, I'll have a common event (SET_LIGHTING) get called after the screen fades out, but before it fades in. SET_LIGHTING will handle determination of which picture to draw based on time of day. This allows for normal lighting while indoors, and lighting based on time of day while outdoors.
Here's how I used to accomplish it in previous versions of RPG Maker:
[IMG]http://i1371.photobucket.com/albums/ag294/rapiermother/ace_zps3a5658fd.png[/IMG]
But here's what I get in VX Ace:
[IMG]http://i1371.photobucket.com/albums/ag294/rapiermother/old_zps132da409.png[/IMG]
with no space in-between the fade-in and fade-out to put in an event call. This means I'm stuck calling the SET_LIGHTING event before or after the teleport, and that results in the "night screen" disappearing an instant before the screen fades out (when leaving the overworld), or appearing an instant after the screen fades in (when entering the overworld). It looks pretty silly.
How can I make this work?