Can't get collison to work with smartpathing

Hi! New to mv, I would like to use a smart pathing plug to have enemy's on map chase/run at player. This works just fine. What I can't get to work is when they collide, I would like battle to start. I've tried with event and player touch with different event windows in different priority, does seem to work. I think If else would work then track player and event x locations and if they equal start battle right? maybe? Is it possible to make this work the way I intended. I was going to use event sensor at first but found Shaz's Smartpath plugin so thought that may be better. Any thought on how to accomplish this?
exactly like you tried - simply have the active page on event touch and trigger a battle processing.

If that didn't work for you, then you did something wrong with your events - and we need to see screenshots of all event pages to tell you what you did wrong.
Here's the screen shot's of how I tried to get it to work
only one page can be active at any given time. Since your second page has no conditions, it will take priority over the first page (highest page number = highest priority) and the first page with the pathfinding will never get started, no matter what you do on it.

And please give a link to the plugin you're using for smart pathfinding, I think you did something wrong with the first page as well but I need to read the plugin instructions to be able to check that.
https://forums.rpgmakerweb.com/index.php?threads/smart-pathfinding.46761/https://forums.rpgmakerweb.com/index.php?threads/smart-pathfinding.46761/
I did fix the zero's already, and did try having the pages in different order,(pathfinding on page two,battle call page one).
did try having the pages in different order,(pathfinding on page two,battle call page one).
That can't work - I already said that only one page of an event can be active at any given time. Both functions need to be on the same page, or they can't work at the same time. That is why I asked for the description, to see if that plugin really needs a parallel process.
But I can't chack that today, it's already past midnight here

EDIT @Prasas
As I suspected, you used the plugin in the wrong way.
You must only use one of the plugin commands, not both, that command must not be repeated (currently it is repeated by parallel process).

In your first page, delete the control variables commands and the second plugin command that uses them, you only need the plugin command with the -1 (telling the event to search a path to the player).
After that command, use control self-switch A = ON, and set the condition of the second page to self-switch A, to disable the first page and switch to the second one with the event touch trigger.

(if you have problems understanding that, correct what you think it says and then make a new screenshot of both pages)
Thank you very much it works just fine now.Your time and effort are greatly appreciated.

Original thread: https://forums.rpgmakerweb.com/threads/cant-get-collison-to-work-with-smartpathing.76404/