Thread Tools Display Modes
08-07-12, 05:51 PM   #1
Farmbuyer
A Cyclonian
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 43
"Guild Vault" tooltip string

On an enUS client, hovering the tooltip over the guild bank pops up a standard world object/doodad tooltip that reads "Guild Vault". (I don't mean hovering over items or tabs in the vault, I mean the giant wall safe or totem pole or whatever that you click to access the contents.)

Where is that string coming from? Nothing in GlobalStrings.lua even contains that phrase outside of an informative voucher-related message. The string that I thought would contain it, GUILD_BANK, is set to "Guild Bank" instead.
  Reply With Quote
08-08-12, 03:40 AM   #2
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
World entities use what ever the server tells them, that's why players or NPC may appear as "Unknown" when problems occur, because there is no LUA data that contains this information, it's all happening on C level, behind the curtains.

This is why you need to tooltip scan, the game is nice enough to put these special values on the tooltip when hovered, you can do that and scan the tooltip, but that's all you can do really.
  Reply With Quote
08-08-12, 12:54 PM   #3
blacknight
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Feb 2005
Posts: 8
only string i found was GUILD_BANK = "Guild Bank";
__________________
  Reply With Quote
08-08-12, 07:37 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
In the example you mention, "Guild Vault" is actually the name of the three-dimensional world object -- like "Peacebloom" or "Mailbox" or "Portal to Orgrimmar". GlobalStrings.lua doesn't generally include object or NPC names, so that wouldn't be something you should expect to find in there.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » "Guild Vault" tooltip string

Thread Tools
Display Modes

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