EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Help!?!?! (https://www.eq2interface.com/forums/forumdisplay.php?f=24)
-   -   Problem with a useability line (https://www.eq2interface.com/forums/showthread.php?t=7355)

wumarine 12-09-2006 10:00 AM

Problem with a useability line
 
I 'm trying to edit somone's custom UI for eq2ui_mainhud_groupmembers.xml with buttons under group members names to cast heals.

All is well until im trying to use the fury's main heal Nature's Elixir, seems the single quote isnt working. line in queston is:

....
<Button LocalTooltip="Nature's Elixir" Name="LargeHealButton" OnPress="
target_none
target_self
useability Nature's Elixir" ....

Any abilities I use that don't contain a single quote work fine, anyone know how this can be done :0

Zonx 12-09-2006 10:43 AM

The only way I managed to get abilities with an apostrophy to work in script is by calling them from an external text file using do_file_command. Otherwise the client wants to treat the apostrophy as a string delimiter. The &apos; entity doesn't work either :(

wumarine 12-09-2006 01:43 PM

hmm tried &apos too & same result

found a work around from a search here tho i think:

in game enter the alias:

/alias mainheal:useablity Nature's Elixir

then in the eq2ui_mainhud_groupmembers.xml file use

<Button LocalTooltip="Nature's Elixir" Name="LargeHealButton" OnPress="
target_none
target_self
mainheal" ..

Deathbane27 12-09-2006 03:44 PM

There is also the option of setting then calling a variable:

<Button Command="Mook's Blarg" OnPress="useability=(Command) useability=(Command)"...>

Worked for setting language to Tier'Dal and Fier'Dal, should work for UseAbility.

Landiin 12-10-2006 02:59 AM

OnPress="UseAbilite &quot;Nature's Elixir&quot;" should work, it works for LocalText.

lordebon 12-10-2006 10:17 PM

Quote:

Originally Posted by Landiin
OnPress="UseAbilite &quot;Nature's Elixir&quot;" should work, it works for LocalText.

Yep. I think that's your problem.

Basically, you're quoting within a quote using regular quotes.

Now, that works fine with Something="Blah 'quoted' blah"

And thats why that appostrophe is getting treated poorly =)

SOE's UI is probably seeing it like this:

OnPress="UseAbility" (end of statement).
Nature's Elixir (Nature is an unrecognizable property for the button)

If you use &quot; for your internal string, then the apostrophe should be fine, as its contained within a string. I learned that the hard way, hehe.


All times are GMT -5. The time now is 07:03 PM.

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