1. Well, you can set pack properties to change how elements resize and move in relation to their parents. You'll find this stuff around page 59 of EQ2_UI_Customization.doc. It's a very old UI builders document, but it still has very important stuff.
You could also programatically change the size of children using OnSize events of object parents. (Easier to learn about PackLocation and PackSize)
2. Well, I suppose. You could make a UI script that calls /target_previous any time it sees the target change. Or implicitly call /target for the "stickied" player any time the target changes. Just need to handle a text change event for the target dynamic data.
3. I don't think the UI or UI mod scripting has access to a random number generator.
PS, this more belongs in one of the Developer Discussion forums, I think.
|