Quote:
Originally Posted by Yen
loadvars() dumps them into an object as variables.
keyconfig.loadvars("file");
keyconfig.up=w
keyconfig.down=s
And so on
I heard from someone that the [] labels have some effect on how it loads, but I haven't tried.
|
Thanks but the [] labels were what i was thinking I had to use to keep them togather, using your method i was hoping to get something like
keyconfig.movement.up=w
Although now I guess I see the way I can do it is much easier then what i was thinking in the first place, thanks.