You get ideas from daydreaming. You get ideas from being bored. You get ideas all the time. The only difference between writers and other people is we notice when we're doing it.
I got to meet Mark Hamill. He signed some Star Wars posters for us. I saw the fight scenes he had. He was really into making fun of himself and Star Wars.