Prefs hell
by Howard Dortch · in Torque Game Engine · 07/13/2007 (12:08 pm) · 3 replies
I have an edit box much like the player name on the same dialog (startmissiongui)
the Variable = "pref::player::name" does not have a $ in front of it so I did the same thing for my edit box. I have a edit box with Variable = "pref::Game::Info";
Now when I change the player name, exit the game, then run the game again the new name is there.
when I change the Game Info, exit the game, then run the game again it's reset to what it was in the prefs.
Can someone explain what sort of magic will allow me to save my Game Info data?
the Variable = "pref::player::name" does not have a $ in front of it so I did the same thing for my edit box. I have a edit box with Variable = "pref::Game::Info";
Now when I change the player name, exit the game, then run the game again the new name is there.
when I change the Game Info, exit the game, then run the game again it's reset to what it was in the prefs.
Can someone explain what sort of magic will allow me to save my Game Info data?
Torque 3D Owner Jacob
If you have that particular $pref exported on exit and then loaded (after any default values of it) when you start your game, then it should show it as you expect it.