EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Help!?!?! (https://www.eq2interface.com/forums/forumdisplay.php?f=24)
-   -   Concept: Spell Affect filtering (https://www.eq2interface.com/forums/showthread.php?t=12553)

Lanadad 03-20-2009 01:25 PM

Concept: Spell Affect filtering
 
Not having digged into code yet, I was wondering if this can be done at all.

Goal:
Show a second "Spell Affects" window that shows only predetermined affects.

Reason:
Not all spell affects are sent to logfile, unfortunately. But they are visible in the spell affect window.

Approach so far:
- Copy/paste the existing spell affects xml
- Rename and <include>
- Shorten to 10 instead of 45 icon spaces
- Add a condition that is true/false on spellname:
Code:

COND=(Parent.Name.Text == &apos;Water Bubbles&apos;)
- Use condition to influence Visibility of affect.
Code:

<Icon BackgroundTint="#000000" IconStyle="/IconStyles.effect" MouseOverColor="#FFFF00" Name="Effect1" Size="24,24" TreatAsButton="true" Visible="COND=(Parent.Name.Text == &apos;Water Bubbles&apos;)"/>
Been digging through existing xml files in the UI dirs and found some code that could perhaps support the above, but so far haven't been able to get it to work as intended.

Questions:
1) Is Visible="True" available for affect icons in the volume page tag?
2) What variable holds the actual spellname? Parent.Name.Text doesn't seem to hold any spellnames? Or should I look for the spellnamecode?
3) Does anyone have a tip on how to approach this?

Thank you in advance for your responses.

gm9 03-21-2009 05:09 AM

There are no variables for the actual spellname, you only get the tooltip, so you can't do this.

Drumstix42 03-21-2009 12:33 PM

Yeah, maybe Maintained spells... but that's all for messing with dynamic data.


All times are GMT -5. The time now is 02:05 AM.

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