I???ve always said there are two (common) ways to write a story, especially for film and TV: you can have a plot and create characters to fulfill roles within that plot and shove them around a bit to get the outcomes you need, or you can create full characters and throw them into situations together to see what happens.