['I was walking to a restaurant to meet with some friends, and on my way there I tripped over a tree branch in front of a bunch of people and looked like a total idiot.']
When you tripped over the branch, did you get hurt?
I tripped over a branch walking to a restaurant, and looked like an idiot in front of a sizable group of people.