How can i make my character automatically jump when walking off edges?

im using the third person template ; how can i do that ?, like in all 3d zelda games (Zelda UDK#3 - Improved Auto Jump - YouTube) . Thanks