Generic version of GameVars to handle extended variables