Is there a way to make controls react to the environment around the player?

I am trying to make a rather complex game with this, but the controls need to be able to react to my player location. at one point, i may want to roll with a button, but at another, I may want to slide. I also have around 8 different jumps that i would like to use. Is it possible?