tomm434 Posted October 14, 2015 Posted October 14, 2015 Hello everyone! I need to know screen resolution on every game load I tried: GetNumericIniSetting "iSize W:Display"But it didn't work. I also tried extracting it from XML menu, I created menu object (in HUDMainMenu) in which I story screen width and height <text name="MGSMScreenRes"> <visible> &false; </visible> <x><copy src="screen()" trait="width"/></x> <y><copy src="screen()" trait="height"/></y> </text> let MGSMain.fResolutionXOriginal := GetUIFloat "HudMainMenu/MGSM_HUD/MGSM_Sheesh/MGSMScreenRes/x" let MGSMain.fResolutionYOriginal := GetUIFloat "HudMainMenu/MGSM_HUD/MGSM_Sheesh/MGSMScreenRes/y"But on game load I receive different values - My resolution * 1.06 ==(1526x954) (mine is 1440x900). I have no idea how this is going to work in different monitors.. Please help?
MotoSxorpio Posted October 14, 2015 Posted October 14, 2015 Try: http://geck.bethsoft.com/index.php?title=Con_SetINISetting When I was scripting my own mods for Oblivion, changing INI on the fly needed the Con_SetINISetting.
tomm434 Posted October 14, 2015 Author Posted October 14, 2015 Try: http://geck.bethsoft.com/index.php?title=Con_SetINISetting When I was scripting my own mods for Oblivion, changing INI on the fly needed the Con_SetINISetting.I don't need to change it - I need to return a value for the mod.
Recommended Posts