![]() |
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 |
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 ' entity doesn't work either :(
|
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" .. |
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. |
OnPress="UseAbilite "Nature's Elixir"" should work, it works for LocalText.
|
Quote:
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 " 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