Message Box - buttons, How to use them?

Post » Mon Jun 18, 2012 12:44 pm

In the CK (and in the Wiki under Menu Buttons: http://www.creationkit.com/Message), there are buttons you can attach to Message Boxes.
Either I've missed something or it has not been documented, but how do I make these buttons interactive?
I assume that a script can detect when one of these buttons is clicked.
But I can't seem to find any reference to these buttons other than in this page.
User avatar
Lavender Brown
 
Posts: 3448
Joined: Tue Jul 25, 2006 9:37 am

Post » Mon Jun 18, 2012 5:54 pm

int buttonPressed = myMessage.Show()

Set buttonPressed to the index of whatever button the user pressed.

So if they pressed the first button, buttonPressed would == 0
User avatar
hannaH
 
Posts: 3513
Joined: Tue Aug 15, 2006 4:50 am

Post » Mon Jun 18, 2012 11:55 am

Ahhh! Thanks!
User avatar
Brooke Turner
 
Posts: 3319
Joined: Wed Nov 01, 2006 11:13 am


Return to V - Skyrim