Hm. Smoked a lot of weed, never walked in my sleep. I have woken myself up screaming a few times, and remembering what I was dreaming about at the time, it made sense.
Hard liquor makes me sleepwalk sometimes, but it's not so much dreams that cause it, as getting up to go to the bathroom, then getting lost on the way back. I'll wake up in a chair or lying on a couch in another room, long after I clearly remember brushing my teeth and going to bed.