Pananacakes Posted May 30, 2014 Share Posted May 30, 2014 I've been going through SkyUI and vanilla fla, actionscript and papyrus for days and I just can't get this to work. I hope someone can help. I want a UI widget that's a background-less text object. Just a bit of text on the screen, and not a message box that stops the game and needs to be clicked off. I'd like to be able to have multiple instances of it on screen at a time. It needs to be scriptable from papyrus for its height and width, and screen x,y position, and the text contents. The text needs to be changable on the fly from papyrus. It'd be great if it was compatible with both SkyUI and the vanilla UI but it's ok for me if it just works for SkyUI. I'm grateful for any help on this I might get, thanks. Link to comment Share on other sites More sharing options...
SkyAmigo Posted June 15, 2014 Share Posted June 15, 2014 Hi!This should be possible as long as you manage the "multiple instances" using flash. But it won't work without SkyUI if you want to use the SkyUI Widget system.I would suggest you have a look at the SkyUI active effects widget which does nearly the thing you want: Display multiple instance of an object. The important parts: Your ActionScript class has to derive the WidgetBase-Class. The counterpart on the papyrus side has also to derive a special class: SKI_WidgetBase. These give you most of the settings you need: x, y, width, height. To add a way to transfer the text from papyrus to flash you add a property in ActionScript and call UI.SetString(HUD_MENU, WidgetRoot + ".PropertyName", "ValueToSet").If you have more questions: Just ask!SkyAmigo Link to comment Share on other sites More sharing options...
Recommended Posts