I am not an expert, but maybe you can use navmesh, and make a variable called target that enemy follows, when player goes to another level, the enemy's target becomes the closest stair to their location, and when they have reached it and gone to the player level, their target can be rechanged to player? Since you have multiple levels, you might need to track which level player is on and which level enemy is on.