So what im trying to do is to make it to where battles are not random so to say, but more along the lines of you see the enemy creatures in the game walking around the area map and when you walk into them (or if there is a way to have an attack animate on the game outside of battle) then itll initiate the battle. However i still want enemies to remain if you run away maybe cant be accessed for a few seconds and then dissapear after defeated.
A great example of what i mean would be like mario super star saga on the gba.
You mean like Pokemon where enemy is waiting for you and when you step the certain coordinate, the enemy wants to battle you, is it?
Have a look at my signature, I wrote a tutorial for it a while ago 🙂
Short version: Make an event for each enemy, set its trigger to Event Touch and start a battle with an event command. To make the enemy stay passive for a whilr after the player ruvs away, you can turn on a Self Switch to change to a new page on Parallel Process, wait for a certain amount of time and then turn the Self Switch off again.
I am using visual encounters myself in my own project.
Here is how I did it as an example,
First create a map where you store all of your encounter templates, this will save you some time later so that you don't need program each one individually, but instead just copy & paste from your "enemy storage room". Set up everything you need on the first template, then simply copy & paste that template for each monster type in "enemy storage room" map. Then you'll just need to change the character graphic & the troop event.
Second, you'll want to turn on walking & stepping animations, as well as program your movement route. If you want your monsters to attack the player, I recommend Yanfly's event chase player plugin, which will let you set the range at which they will rush your player, as well as their behaviors while doing so; however, it will still let them wander around a random or set area otherwise.
Third, You'll want to set the priority to "same as player" because touch encounters won't work otherwise, & set the trigger to "event touch". The reason why you set it to event touch is so that action button & player touch will also activate it as well. Be aware that the additional party members can keep the monster from activating the event if positioned correctly. To prevent this I recommend you use "change player followers" & set it to off, when on a map where the player will encounter monsters.
For example I set them on the gates of my city. So that when the player enters a town where they will be speaking to NPCs, I use the transfer event from the field maps where the monsters are to the town maps where the NPCs are, to also set "change player followers" to on. & when the player uses the transfer point to go from the town to the field map, I use that transfer point event to set "change player followers" to off.
Forth, you'll need assign the Battle Processing for the troop type to their respective template, remember complete everything on an initial template first, then copy the templates for each enemy type it will save you time. Go ahead & check "can lose" & "can retreat", which will create conditional branches. Program in the losing consequence whether it be game over, or being sent back to the last town. It's good to have this in even if the losing condition of a battle is normally game over, because then special battles where the player isn't in danger of being killed, for example a "catch my escaped pet but don't kill it" or a "tame the wild beast" kind of quest are largely already set up & you just need to change one thing on the template.
Finally for the retreat you'll need to program in a wait time, otherwise the player will just end up right back in combat. I recommend keeping it short though, just enough time for the player to start moving away from the monster, but not so long they can start looking around with the monster just standing there. No more than two or three seconds, but don't make the monster move speed so high that the player can't outrun the monster.
Once you've completed all of that, anytime you want to a particular monster you should have all of them preprogrammed in their respective templates, all within a single relatively small map, & all you have to do is copy & paste that event on to your map.