Hello and good day to whoever reads.
Allow me to present my problem: It so happens that I´ve been trying to put together an event that works as an overworld enemy. I followed a tutorial that a guy on a different thread made, but the issue lays in that I can´t make the event remain on its designated area. According to the tutorial, once the player is inside of the region labeled with a 2, the event will pursuit them until reaching their position and starting a battle, when the player is in a different region that isn´t 2, the event will only wander around randomly, thing is, that with the random walking cycle command the event tends to sometimes walk away from the 2 region, making the event code fail (thus if I player touches the event when it´s out of the 2 region it won´t do anything) How can I make it so it only walks inside of the 2 region? is there away I can make one region work as quote on quote "barrier" that only works on the event but not in the player? I need enlightenment.
(Images of how the map and the event´s code look)
I also have a less Important problem with the event code that it isn´t really the point of this message, that being that whenever the event it´s on the branch of the code that tells it to pursuit the player, it keeps playing a SE that´s suppose to only play once that indicates that the event has seen the player. If any of you know how to deal with this it would also be welcomed.
I think that would be all. Thanks before hand to whoever sees this and sorry if I posted it in a place where I shouldn´t (I´m not used to use this forums).
Allow me to present my problem: It so happens that I´ve been trying to put together an event that works as an overworld enemy. I followed a tutorial that a guy on a different thread made, but the issue lays in that I can´t make the event remain on its designated area. According to the tutorial, once the player is inside of the region labeled with a 2, the event will pursuit them until reaching their position and starting a battle, when the player is in a different region that isn´t 2, the event will only wander around randomly, thing is, that with the random walking cycle command the event tends to sometimes walk away from the 2 region, making the event code fail (thus if I player touches the event when it´s out of the 2 region it won´t do anything) How can I make it so it only walks inside of the 2 region? is there away I can make one region work as quote on quote "barrier" that only works on the event but not in the player? I need enlightenment.
(Images of how the map and the event´s code look)
I also have a less Important problem with the event code that it isn´t really the point of this message, that being that whenever the event it´s on the branch of the code that tells it to pursuit the player, it keeps playing a SE that´s suppose to only play once that indicates that the event has seen the player. If any of you know how to deal with this it would also be welcomed.
I think that would be all. Thanks before hand to whoever sees this and sorry if I posted it in a place where I shouldn´t (I´m not used to use this forums).