EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   help with the apostrophe (https://www.eq2interface.com/forums/showthread.php?t=10673)

cmarsh 03-23-2008 06:37 AM

help with the apostrophe
 
Im using Celestians templar group UI, very nice mod. One question
I can't get Supplicant's Prayer to work, it has something to do with the apostrophe.
Im 100% sure that i've entered the spell correctly into the celestians code.
Ive read a post and tried “applicant's Prayer” (with the extra quotation mar ks but that didn't work. Pease please help me.

This is the actual code, I hope Celestain doesn't get mad at me posting his code.

<Page Location="135,0" Name="BestowalOfVitaePage" ScrollExtent="27,27" Size="27,27">
<Button LocalTooltip="reactive heal" Name="BestowalOfVitaeButton" OnPress="target_none
target_self
useability Supplicant's Prayer" Opacity="0.000" ScrollExtent="27,27" Size="27,27"></Button>
<Icon IconRect="209,0,252,39" IconResource="images/icons/icon_ss6.dds" Name="BestowalOfVitaeIcon" ScrollExtent="27,27" Size="27,27" TreatAsButton="true"/>
</Page>


Chris

lordebon 03-23-2008 10:46 AM

And you've tried:

<Page Location="135,0" Name="BestowalOfVitaePage" ScrollExtent="27,27" Size="27,27">
<Button LocalTooltip="reactive heal" Name="BestowalOfVitaeButton" OnPress="target_none
target_self
useability `Supplicant's Prayer`" Opacity="0.000" ScrollExtent="27,27" Size="27,27"></Button>
<Icon IconRect="209,0,252,39" IconResource="images/icons/icon_ss6.dds" Name="BestowalOfVitaeIcon" ScrollExtent="27,27" Size="27,27" TreatAsButton="true"/>
</Page>

That might work. Extra " shouldn't work because they're closing the string at the start (since they were used to start it in the first place) but the back apostrophe should serve as a text delimiter to say `Supplicant's Prayer` is one whole string.

If not you could try doing something like OnHover="A=Supplicant's Prayer
OnPress=OnPress="target_none
target_self
useability " ## A

That may work, but my brain is still a bit sleep befuddled so not 100% sure on the coding.

cmarsh 03-23-2008 12:10 PM

thans ill give it a try

Landiin 03-23-2008 09:14 PM

Code:

<Page Location="135,0" Name="BestowalOfVitaePage" ScrollExtent="27,27" Size="27,27">
<Button LocalTooltip="reactive heal" Name="BestowalOfVitaeButton" OnPress="target_none
target_self
useability Spell" Spell="Supplicant's Prayer" Opacity="0.000" ScrollExtent="27,27" Size="27,27"></Button>
<Icon IconRect="209,0,252,39" IconResource="images/icons/icon_ss6.dds" Name="BestowalOfVitaeIcon" ScrollExtent="27,27" Size="27,27" TreatAsButton="true"/>
</Page>

Replaced useability Supplicant's Prayer with useability Spell and add a Property names Spell (Spell="Supplicant's Prayer"). This is the only way I've been able to reliable get the game to use spells with ' in them. It is also how the click to cure/cast works in Henchman.

cmarsh 03-25-2008 03:28 PM

thanx for all the help on that one landiins option worked.


All times are GMT -5. The time now is 12:21 AM.

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