Difference between revisions of "ShowBarterMenu"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Grail Quest
 
(One intermediate revision by one other user not shown)
Line 16: Line 16:
=='''Notes'''==
=='''Notes'''==
*The parameter default is 0 (no change to prices).
*The parameter default is 0 (no change to prices).
*If you call it with 100 discount, it will allow the player to view an NPC's inventory like a container -- freely move things back and forth.
*If you call it with 100 discount, it will allow the player to view an NPC's inventory like a container -- freely move things back and forth. (needs verification [[User:Grail Quest|Grail Quest]] 13:05, 26 March 2012 (EDT))


==See Also==
==See Also==
Line 22: Line 22:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]

Latest revision as of 12:05, 26 March 2012

Description[edit | edit source]

ShowBarterMenu Displays the Barter Menu. It is not called on a Reference and can take 1 parameter. The parameter is in the range [ -100, 100 ] and denotes the percentage of discount on Sell prices / inflation on Buy prices. See examples below.

Syntax[edit | edit source]

ShowBarterMenu PercentDiscount

Examples[edit | edit source]

ShowBarterMenu 50
sbm 50

The Barter Menu shows up, and the vendor sells items at 50% of their normal sell price and will buy items at 150% of their normal buy price.

Notes[edit | edit source]

  • The parameter default is 0 (no change to prices).
  • If you call it with 100 discount, it will allow the player to view an NPC's inventory like a container -- freely move things back and forth. (needs verification Grail Quest 13:05, 26 March 2012 (EDT))

See Also[edit | edit source]