Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetTargetTradeMoney

Last wiki revision 2022-07-22

Returns the amount of money in the trade window for the other player. targetTradeMoney = GetTargetTradeMoney

  • Returns
  • targetTradeMoney: : A string in the format of ggggsscc where g is gold, s is silver, and c is copper.

x = GetTargetTradeMoney;

  • Example
  • Result

This function will return a string "692214", for 69g 22s 14c.

  • Description
  • Retreives the amount of money the target user is giving to the current user (you) for a trade session.

Source

https://warcraft.wiki.gg/wiki/API_GetTargetTradeMoney · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.