Ask an Immigration Solicitor. Get an Answer ASAP.
If you were living in Scotland with your family at the date of an independence vote then the chances are that you would qualify for a Scottish passport as would your family. However, any immigration laws regulating the nationality of the people of Scotland don't exist yet so it is difficult to give you a definitive answer save that residency and birth are two factors in determining the right to nationality. I hope that helps. Please leave a positive rating so that I am credited for my time.