b3w4r3 Posted October 3, 2023 Share Posted October 3, 2023 Can someone post a script example of a Message Box with buttons? Having trouble finding anything that demonstrates how to detect button presses and how to implement it into a script. I have a message item set up already. Link to comment Share on other sites More sharing options...
hereami Posted October 4, 2023 Share Posted October 4, 2023 (edited) You can find one of examples in FFDiamondCity01WallTriggerScript.psc and corresponding FFDiamondCity01WallMessage "The Wall" [MESG:0001DB75] .In short,int ButtonPressed = FFDiamondCity01WallMessage.Show()If (ButtonPressed == 1) ; do thingsElseIf (ButtonPressed == 2) ; do thingsetc.EndIf MessageBox response value is the 0-based index of button pressed. Edited October 4, 2023 by hereami Link to comment Share on other sites More sharing options...
b3w4r3 Posted October 4, 2023 Author Share Posted October 4, 2023 Thanks, that helped. Link to comment Share on other sites More sharing options...
Recommended Posts