Because you are using the For/Each loop, your function will work for ALL your 'enemy' type objects. I think you need to set a Field to represent your enemies (either an image/meshhandle or something) and operate your FollowWaypoints function on the object.
FollowWaypoints(baddies\mesh)
Function FollowWaypoints(meshhandle)
or something (If Ive understood correctly)
FollowWaypoints(baddies\mesh)
Function FollowWaypoints(meshhandle)
or something (If Ive understood correctly)