Here's the relevant snippet. I have 4 images in this page that are invisible by default that correspond with the 4 archetypes. My idea was that a group member joins the MemberInfoPage becomes visible. OnShow is activated. If that member's archetype = whatever, then make whatever icon visible. But everything stays invisible, even when I hide and reshow the window mid-group.
I have played with any of these yet with all the changes flying around.
I would try just changing up how you format it, to see how soe wants it. I would leave out any white-space as the script parser seems not to really like them.
I think conditional statements were tried to be tackled a while back, but I haven't been around in a bit to know if someone got them working
SOE said they added them with live update 13 but I havn't had the time or want to test them with all the exp grinding & UI changes I have to do now lol
I decided against the conditionals as they're not really necessary, but I can't get it to update automatically as people join and leave the group. I'm using a hacked work around OnHoverIn to force the update, and it does work, just not the way it should. Here's what I've got so far, perhaps somebody sees what I'm missing.
I am getting closer!!
It works in UIBuilder, but in game it doesn't yet.
Trying to figure out where I need the trigger placement.
When in UIBuilder, if in 'run' mode, the actions I have set do indeed display the correct icon. I have to manually enter the text for the archetype of course since it is not a live event, but when I change the text, the correct icon now displays.
All I need to figure out is, if in the LIVE game, I am passing the correct parameter and/or triggering the correct event.
Now I got it to properly show the CORRECT archetype icon when a member joins!
All I need to figure out now, is how to get the window to "reupdate" when a member leaves and a 'new' archetype joins in that slot. Once I figure how to do this, I will have solved the Archetype Icons Display in the group window!!!
I believe the reason that none of these attempts work is the following. Some attributes cannot be assigned a variable value. This includes both 'style' and 'visible'.
For example, the following attribute assignments do not work.
I can get the archetype stuff to display properly, once you mouse over it updates the to correct icon pic. In text mode, the archetype always aupdates no problem when a new member or different member takes up a slot. The archetype will change as it should, but the picture (icon) won't until I mouse over forcing the icon to update. Same thing Hirebrand got to in his mod.
I thought I had it working however, icon update without mouse over, but in all my excitement, I did not save the file and it is gone forever. NO, unfortunately I do not remember what I did, as I was trying like over 100 ways to get this to work. My brain hurts still from that night.
It seems so simple though, if the text version of the archetype will update easily, why can't we get the icon to do the same?
I really wish RJ would respond to Hirebrand and get us the correct/needed syntax for the enabled conditionals.