greyday01 Posted February 5, 2023 Share Posted February 5, 2023 I've googled a bit, but I could find no way to add buttons in game. I have a number of locations I want to teleport to. I could have a separate spell for each of those 8 locations added as they are found at the cost of cluttering up my spell list. I was considering a menu message with the locations added as buttons but I didn't want unfound locations to be listed. Can't find a way to add buttons with a script. Could have separate menu messages but there would need too many with 8 locations. 1 only, 2 only, 3 only, 1 and 2 only, 1 and 3 only., ect. No good with math. would it be 8 squared? Too many anyway.IS there any way to dynamically add message buttons? Link to comment Share on other sites More sharing options...
dylbill Posted February 5, 2023 Share Posted February 5, 2023 Yes, in the creation kit, you can put conditions on message buttons. When the message is opened via script using MyMessage.Show() only buttons whose condition evaluate to true will appear. Link to comment Share on other sites More sharing options...
Sphered Posted February 6, 2023 Share Posted February 6, 2023 For the dynamic portion you mention The only sane way to do this on any non-simple scale would be to use your own invoked menus. UIExtensions is an example of a mod that offers the means. There is just no going back after you get to enjoy such precise situational menus on demand Link to comment Share on other sites More sharing options...
greyday01 Posted February 6, 2023 Author Share Posted February 6, 2023 Yes, in the creation kit, you can put conditions on message buttons. When the message is opened via script using MyMessage.Show() only buttons whose condition evaluate to true will appear.Thanks. I'll do more study of the WIKI and try to get the message, script and function working. Link to comment Share on other sites More sharing options...
greyday01 Posted February 6, 2023 Author Share Posted February 6, 2023 For the dynamic portion you mention The only sane way to do this on any non-simple scale would be to use your own invoked menus. UIExtensions is an example of a mod that offers the means. There is just no going back after you get to enjoy such precise situational menus on demandI think my use will be pretty basic. If I can't get it working how I want I'll take a look at UIEExtensions Link to comment Share on other sites More sharing options...
Recommended Posts