EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Help!?!?!

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-09-2006, 10:00 AM
wumarine wumarine is offline
A Young Mystail Rat
 
Join Date: Jun 2005
Server: Befallen
Posts: 2
Default 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
Reply With Quote
  #2  
Unread 12-09-2006, 10:43 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

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
Reply With Quote
  #3  
Unread 12-09-2006, 01:43 PM
wumarine wumarine is offline
A Young Mystail Rat
 
Join Date: Jun 2005
Server: Befallen
Posts: 2
Default

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" ..
Reply With Quote
  #4  
Unread 12-09-2006, 03:44 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

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.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #5  
Unread 12-10-2006, 02:59 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

OnPress="UseAbilite &quot;Nature's Elixir&quot;" should work, it works for LocalText.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #6  
Unread 12-10-2006, 10:17 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

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.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:54 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI