ShowBarterMenu

From GECK
(Redirected from Sbm)
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Displays the Barter Menu. It is called on a Reference and can take 1 optional 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

[help]
[actor:ref].ShowBarterMenu discount:int 

Or:

[actor:ref].SBM discount:int

Example

ShowBarterMenu 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

  • The parameter default is 0 (no change to prices).

See Also