Make npc move horizontal and vertical

Hi Aron,

before, i make npc just move in x axis

but now, i want to add another npc move in z axis
where should i add the script ? (because AIPath inherits from AIbase.)
I have 4 npc move in x axis
and 1 npc move in z axis