Deleted12488971User Posted June 15, 2014 Share Posted June 15, 2014 Right I'm trying to make a message pop up when something's activated. That works fine. Then, there's two choices. One of them shows the name menu and the other the race menu.When I press one, nothing happens. However, when I press the activator again, the message pops up, but also the menu from my choice at the same time. How do I fix it so once the button is pressed, the menu shows? Here's the script Short Button Begin OnActivateSet Button to GetButtonPressedShowMessage J023BodyEditorMessageif (Button == 0)ShowNameMenuelseif (Button == 1)ShowBarberMenuendifEnd Link to comment Share on other sites More sharing options...
Unno Posted June 15, 2014 Share Posted June 15, 2014 http://geck.bethsoft.com/index.php/GetButtonPressed int iButton int iAwaitingInput Begin OnActivate ShowMessage J023BodyEditorMessage set iAwaitingInput to 1 End Begin GameMode if iAwaitingInput == 1 set iButton to GetButtonPressed if iButton > -1 set iAwaitingInput to 0 if iButton == 0 ShowNameMenu elseif iButton == 1 ShowBarberMenu endif endif endif End http://www.cipscis.com/fallout/tutorials/menu.aspx int iButton Begin OnActivate ShowMessage J023BodyEditorMessage End Begin GameMode set iButton to GetButtonPressed if iButton == -1 Return elseif iButton == 0 ShowNameMenu elseif iButton == 1 ShowBarberMenu endif End Link to comment Share on other sites More sharing options...
Deleted12488971User Posted June 16, 2014 Author Share Posted June 16, 2014 Thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts