GetBarterGoldAlt

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the amount of money the merchant, with whom the player is currently trading, has available for bartering. This is the value displayed on the upper-right corner when in the barter menu.

Syntax

[help]
(merchantCash:int) GetBarterGoldAlt

Example

set iMerchantCash to GetBarterGoldAlt 

Notes

  • The vanilla function GetBarterGold is broken and will always return 0.

See Also