Jump to content

Need some help with UI Invoke/Set String


Recommended Posts

Id like to have a string show on the hud while its open.


I was thinking I could take over either the location or notifications.

 

 

The problem is I cant find where to point the String target to for either location. ive opened up the hudmenu.gfx and poked around a bit but nothing ive tried is the right target.

 

Can anyone help me out with this?

Link to comment
Share on other sites

Hello, unfortunately you really need Adobe flash to know how to use skse UI script so you can open the .fla and .as files.

You can view the .as action script sources courtesy of Mardoxx here https://github.com/Mardoxx/skyrimui

But you also need the top movie clip which you need to open the .fla file also. For the Hud menu it's HUDMovieBaseInstance.

You can do something like this then:

UI.InvokeString("HUD Menu", "HUDMovieBaseInstance.SetLocationName", "Testing 123") 

But it will fade after a bit just like location does normally. using HUDMovieBaseInstance is how you access the HUDMenu action script class.

 

For something like you're describing though I would recommend iWant Widgets: https://www.nexusmods.com/skyrimspecialedition/mods/36457 which allows you to create your own widget, text based or otherwise from papyrus only.

Link to comment
Share on other sites

Hello, unfortunately you really need Adobe flash to know how to use skse UI script so you can open the .fla and .as files.

You can view the .as action script sources courtesy of Mardoxx here https://github.com/Mardoxx/skyrimui

But you also need the top movie clip which you need to open the .fla file also. For the Hud menu it's HUDMovieBaseInstance.

You can do something like this then:

UI.InvokeString("HUD Menu", "HUDMovieBaseInstance.SetLocationName", "Testing 123") 

But it will fade after a bit just like location does normally. using HUDMovieBaseInstance is how you access the HUDMenu action script class.

 

For something like you're describing though I would recommend iWant Widgets: https://www.nexusmods.com/skyrimspecialedition/mods/36457 which allows you to create your own widget, text based or otherwise from papyrus only.

Thanks, I got a widget up and running with this

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...