QUOTE (SowS @ Feb 13 2010, 06:18 AM)

how do i check if the player leaves the event location and the direction of the player where he comes from?
thanks!
By event location, do you mean the position of a specific event (we'll call it Event A) on the X/Y plane? If so, you need to store the player's X and Y locations into two variables. Then have an event on parallel process (it could be a common event) with conditional branches to check if the player's X and Y are equal to whatever the X and Y are for Event A. If these conditions are not met, then the player cannot be in the same location as Event A.
You can also store directional facing into variables using a conditional branch. If player is facing up, set variable FACING to 1. If player is facing right, set variable FACING to 2. Etc. Then you can check what the variable "FACING" is equal to in the next map.