MenuMode question

Post » Thu May 26, 2011 11:19 pm

I'd be grateful if anyone could lend me a hand over here... :embarrass:

I'm wondering if the "Confirm Load Savegame" Message that appears after player selects a savegame to be loaded is still MenuMode 1038(load saved game), or is it 1001?

brucevayne
User avatar
-__^
 
Posts: 3420
Joined: Mon Nov 20, 2006 4:48 pm

Post » Fri May 27, 2011 12:49 am

To my knowledge, all message boxes - script and engine spawned - use the 1001 messageBox menumode.
User avatar
Maria Garcia
 
Posts: 3358
Joined: Sat Jul 01, 2006 6:59 am

Post » Fri May 27, 2011 6:12 am

Thanks ShadeMe ^_^

Now, is there a way to determine wether 'Yes' or 'No' is highlighted by the mouse pointer? Thanks in advance...

brucevayne
User avatar
Michelle Serenity Boss
 
Posts: 3341
Joined: Tue Oct 17, 2006 10:49 am

Post » Fri May 27, 2011 9:09 am

Yes. As long you know which button is which, you can use getActiveUIComponentName to do the check.
if eval (getActiveUIComponentName == "button_1")  ;- the 1st buttonelseIf eval (getActiveUIComponentName == "button_2")  ;- the 2nd button...endIf

User avatar
Robert Jackson
 
Posts: 3385
Joined: Tue Nov 20, 2007 12:39 am

Post » Fri May 27, 2011 12:40 pm

Yay! Thanks again ShadeMe :goodjob: !

brucevayne
User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am


Return to IV - Oblivion