Ok so first off thanks for all the help I did manage to solve it a different way.
I simply made the moving character drop the image of a stair case.(So it made it look like in magically appeared. The staircase had its own script with a drawunderplayer function and the player can now advance to the next level.
I couldn't quite figure out the trigger action function because I don't see how you use x,y coordinates to make an npc dissapear

Perhaps I'm doing something wrong. If someone could please correct what I have done wrong it would be a great learning experience for me
