static function?

i am writing the script that will make objects of several types, i will need to access it from several locations. i figured it would be easy to make this function static but i then get this error: An instance of type ‘FactoryControl’ is required to access non static member ‘SPAWN_Y_MAX’.

i guess this is because some variables are not static…can someone explain?