Scripting: Modifying specific part of the UI

Post » Wed Mar 02, 2016 9:14 am

So, let's say for example that I want to modify some part of the bottom bar when I'm in the Barter Menu. I would like to change something in PlayerInfoCard_mc., and more specifically, that part:


PlayerInfoCard_mc.VendorGoldLabel.SetText("$Gold")


I would like to change "$Gold" to whatever I want, using either UI.SetString or UI.InvokeString.



Any idea on how I could achieve that?



Relevant links:


http://www.creationkit.com/UI_Script


https://github.com/Mardoxx/skyrimui/blob/425aa8a31de31fb11fe78ee6cec799f4ba31af03/src/bartermenu/BarterMenu.as


https://github.com/Mardoxx/skyrimui/blob/master/src/common/BottomBar.as




EDIT - Or, at least, could someone tell me how I could override localized parts of the UI using scripts ? Thank you!

User avatar
brian adkins
 
Posts: 3452
Joined: Mon Oct 01, 2007 8:51 am

Return to V - Skyrim