Pathnode ai help

How do you follow pathnodes in order that are moving or stationary and for each pathnode your enemy will stop for ten seconds and if the pathnodes are in the same space the python script will slowly reiterate over them one at a time and also i want it to work in conjunction with the steering action by using the state actuator?I would like it for the enemy also to follow the pathnodes that are near him only.I would like it to be done with a near sensor detecting a property of the pathnodes.Could you please post a blend?:eyebrowlift: