View Single Post
  #1  
Unread 10-20-2005, 11:35 AM
hirebrand hirebrand is offline
Bellum Aeternus
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unkown
Posts: 165
Default Groupmembers w/ archetype -- need help

Can someone help me with my conditional operators for this mod? It doesn't work.

Link about conditional operator.

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.

Code:
<Page 
BackgroundColor="#00FF00" 
Name="MemberInfoPage" 


OnShow="
Scout_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Scout' ? true : false ) Fighter_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Fighter' ? true : false ) Mage_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Mage' ? true : false ) Priest_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Priest' ? true : false )"
PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" ScrollExtent="125,50" Size="125,50" >
Also if you can think of a different way to do this that would be great.
Attached Thumbnails
Click image for larger version

Name:	sfdgsf.jpg
Views:	550
Size:	4.1 KB
ID:	3892  
Attached Files
File Type: zip grouptest.zip (3.6 KB, 377 views)
Reply With Quote