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
&false;
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?