EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Beta (https://www.eq2interface.com/forums/forumdisplay.php?f=29)
-   -   Groupmembers w/ archetype -- need help (https://www.eq2interface.com/forums/showthread.php?t=4542)

nomad980 11-11-2005 04:41 PM

Like I had posted somewhere else by mistake:

Quote:

Any luck with this? I found someone that had something similar on here, http://www.eq2interface.com/downloa...nfo.php?id=4053 Well I am off to try and figure this out.

tangent 11-17-2005 10:55 AM

Attributes cannot be assigned a variable value
 
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.

Code:

<Image Name="Icon1" ScrollExtent="40,40" Size="40,40" Style="(Var)" Var="MyStyle"/>
<Image Name="Icon2" ScrollExtent="40,40" Size="40,40" Style="MyStyle" Var="false" Visible="(Var)"/>

I have been working on making archtypes work in the groupmember window as well but I think as long as the above is true it is impossible.

It would be nice to have a list of attributes that cannot be assigned a variable. It would be nicer to have this fixed :-)

depechenode 11-17-2005 05:22 PM

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.

Landiin 11-17-2005 05:55 PM

I havn't tried this but it should work.

Code:

<Page name="MemberInfoPage" Onshow="
archmage.Visible=(archtype.text==mage)
archpreist.Visible=(archtype.text==preist)
...">

<Image name="archmage" ... >
<Image name="archpreist" ... >
...
</Page>


tangent 11-18-2005 08:36 AM

Quote:

Originally Posted by Landiin
I havn't tried this but it should work.

Code:

<Page name="MemberInfoPage" Onshow="
archmage.Visible=(archtype.text==mage)
archpreist.Visible=(archtype.text==preist)
...">

<Image name="archmage" ... >
<Image name="archpreist" ... >
...
</Page>


Well I have tried this and, as I said above, the Visible attribute does not seem to be updatable with a variable value.

Landiin 11-18-2005 08:56 AM

Hmm that basically how I get my raid info window to show up. The loading screen reads teh zoen name and turns on a page insaid the memorrized window. Maybe it only works on pages and you have to puth each icon in its own window /shrug.

tangent 11-18-2005 09:03 AM

Quote:

Originally Posted by Landiin
Hmm that basically how I get my raid info window to show up. The loading screen reads teh zoen name and turns on a page insaid the memorrized window. Maybe it only works on pages and you have to puth each icon in its own window /shrug.

It's worth a try. I'll let you know.

tangent 11-22-2005 10:51 AM

All of my attempts at getting a page to become visible based on a variable value have failed. Can you give an example or link to an interface where you have this working Landlin?

Landiin 11-22-2005 12:27 PM

<Page Name="MemberInfoPage" Mage="Mage" Fighter="Fighter" Preist="Preist" Scout="Scout" Onshow="
IconScout.Visible=(Class.Text==Scout)
IcontMage.Visible=(Class.Text==Mage)
...">
<Text Name="Class" DynamicDate="/gamedata.group.class">temp</Text>
<Page Name=IconScout">
...
</Page>
</Page>

This is just basic, and wrote it from memory as I am at work and don't have the code in front of me. But its verry close.

depechenode 12-10-2005 07:15 PM

Landiin, can you post the full code to the above post? Not from memory, I would like to test your theory.


All times are GMT -5. The time now is 01:56 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI