View Single Post
  #32  
Unread 12-06-2008, 09:31 AM
RickF7666's Avatar
RickF7666 RickF7666 is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Jun 2005
Server: Oasis
Posts: 70
Default

I can give you at least two examples of the gamedata not being populated until after the ui piece is draw.

First in my Player window I want to show the last name only when there is a last name. Well OnShow doesn't work for this because by default the Player window is already showing when you zone in and no gamedata has been populated yet. So I added an OnHide to the hud_zoning window to populate the data before you see the interface.

Second I, like many others, want to display an archtype icon in the group window. The problem is that when someone joins the group the graphic elements are shown first then the group member data is populated. So no icon is shown. Most get around the problem by doing a OnHover. I on the other hand hide the group window and the show it again to get the icon to show up automatically. Both options have their problems.

So an OnLoad would solve both of those problems.

And I know this may not be the place for it but can I request the addition of Home City and Riposte to the gamedata?
Reply With Quote